How to use a custom servlet in iFS?

Hi,
I'm creating a custom servlet to download files from iFS to local drive. My question is where should I put the servlet class file, and how do I invoke this servlet from a ifs jsp file?
I'm running iFS 1.1.9, with JWS web server.
Thanx.
[email protected]

Howdy:
In the iFS Online Resources HTML whitepaper,
there are several examples for creating and
deploying servlets. See the section "Creating a Simple Content Management Application." Please check out: http://technet.oracle.com/products/ifs/htdocs/resources/index.htm
Hope this helps,
Dennis Dawson

Similar Messages

  • How to use the customer types in customer master data

    how to use the customer types in customer master data?
    menu path is Extras -> account group info -> customer types

    hi,
    This is an option given to you to choose (if you need to) the way you perceive this customer.Here you get options including ompetitors,Salespartner, prospect,
    default sp ,consumer.
    See it helps you to differentiate between prospect(which you may use for quotation or inquiry purpose)Sales partner and the competetor.
    I hope this clarifies your quiery.Reward points if so.
    Thanking you,
    Best regards,
    R.Srinivasan

  • How to use PPF customizing Auto GR after packing

    Our Goods Receive Business scenario is
    1. Filled Batch in EWM Inbound Delivery           
    2. Manual Pack product to Handling unit
    3. After packing, Automatic Good Receive
    4. Then create Warehouse Task automatically .
    Question
    We want to know how to use PPF customizing Auto GR after we Pack product to Handling unit?
    Can anyone help us to figure out that problem?
    Thank you
    Chang

    Hi Faical,
    I have set configuration as below, but it does'nt work.
    Can you help us to figure out the reason.
    We are appreciate your help!
    2. Manual Pack product to Handling unit
    3. After packing, Automatic Good Receive
    method: /SCWM/AU_GR_POST in processing details and for schedule condition:  /SCWM/WHR_FULL_PACKED. 
    time of processing : processing when save document
    3.After packing, Automatic Good Receive
    4. Then create Warehouse Task automatically
    method: /SCWM/AU_GR_POST in processing details and for schedule condition: /SCWM/TO_CREATE
    time of processing : immediate processing

  • How to use the custom control ?

    Hi Friends,
    plz help to use of  custom control in screen painter ?
    and how to use the custom control ?
    Thanking you.
    Regards,
    Subash.

    HI,
    Screen Elements
    A screen can contain a wide variety of elements, either for displaying field contents, or for allowing the user to interact with the program (for example, filling out input fields or choosing pushbutton functions). You use the Screen Painter to arrange elements on the screen.
    You can use the following elements:
    ·        Text fields
    Display elements, which cannot be changed either by the user or by the ABAP program.
    ·        Input/output fields and templates
    Used to display data from the ABAP program or for entering data on the screen. Linked to screen fields.
    ·        Dropdown list boxes
    Special input/output fields that allow users to choose one entry from a fixed list of possible entries.
    ·        Checkbox elements
    Special input/output fields that the user can either select (value ‘X’) or deselect (value SPACE). Checkbox elements can be linked with function codes.
    ·        Radio button elements
    Special input/output fields that are combined into groups. Within a radio button group, only a single button can be selected at any one time. When the user selects one button, all of the others are automatically deselected. Radio button elements can be linked with function codes.
    ·        Pushbuttons
    Elements on the screen that trigger the PAI event of the screen flow logic when chosen by the user. There is a function code attached to each pushbutton, which is passed to the ABAP program when it is chosen.
    ·        Frame
    Pure display elements that group together elements on the screen, such as radio button groups.
    ·        Subscreens
    Area on the screen in which you can place another screen.
    ·        Table controls
    Tabular input/output fields.
    ·        Tabstrip controls
    Areas on the screen in which you can switch between various pages.
    ·        Custom Controls
    Areas on the screen in which you can display controls. Controls are software components of the presentation server.
    ·        Status icons
    Display elements, indicating the status of the application program.
    ·        OK field
    Every screen has a twenty-character OK_CODE field (also known as the function code field) that is not displayed directly on the screen. User actions that trigger the PAI event also place the corresponding function code into this field, from where it is passed to the ABAP program. You can also use the command field in the standard toolbar to enter the OK field. To be able to use the OK field, you need to assign a name to it.
    All screen elements have a set of attributes, some of which are set automatically, others of which have to be specified in the Screen Painter. They determine things such as the layout of the screen elements on the screen. You can set the attributes of screen elements in the Screen Painter - either for a single element, or using the element list, which lists all of the elements belonging to the current screen. Some of the attributes that you set statically in the Screen Painter can be overwritten dynamically in the ABAP program.
    with regards,
    sowjanyagosala

  • How to use a custom script in a batch process?

    I was recently told that I can Photomerge, crop and save 2 separate folders of images to a 3rd folder in a batch process if I created a custom Javascript.  Are there any examples of how to integrate a custom script as an action in a batch process?

    if you recieve an image from mms you can save the object to gallery and then select it as wallpaper
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • How to use session variable in JSP function  & How to use both JSP  Servlet

    Hi,
    I am new to JSP and servlets
    Still I am devloping a website in JSP. I am not mixing JSP with servlets, but I do create Java files for bean, logic and database works.
    I try to keep the hard coding part out of JSP.
    I dont how to use both JSP and Servlets in combination.
    Hence If needed I write some functions in JSP.
    but it gives me error
    +<%! public void abc()+
    +{+
    int intUserId = Integer.valueOf((Integer) session.getAttribute("MySession_UserID"));
    +}+
    +%>+
    Saying cannot find symbol session
    1) So can u please tell how can I access session variables within JSP function
    2) And also give me some links/tutorials about useing both JSP and Servlets in combination.
    Thanks
    Venkat

    The application architecture when you use Servlets and JSP in a standard MVC pattern is explained here (under the heading "Integrating Servlets and JSP Pages") and here ...

  • How to use a custom database authentication with APEX_AUTHENTICATION??

    i have Custom user authentication method.
    create or replace function user_check(username varchar2,password varchar2) return boolem
    is
    check_out integer;
    begin
    select count(*) into check_out from "user" where USER_EMAIL=username and USER_PASS=password;
    if check_out >0 then
    return true;
    else
    return false;
    end if;
    end;
    apex_authentication.login() how to use. And how to make apex_authentication.login() use my method Verify User Login

    You can't mix custom authentication and the internal APEX authentication functions.. So either you use the pre-built user authentication in APEX or you can build your own CUSTOM authentication...
    Many examples of custom authentication are out there...
    Thank you,
    Tony Miller
    Ruckersville, VA

  • How to use ApplicationModule custom methods in JSP?

    I have an ApplicationModule for which I have defined several custom methods (in the ApplicationModuleImpl class). I wish to invoke these methods from a JSP. I'm having trouble getting a scriptable reference to the application module object in the JSP. I can get data from the view objects using the jbo:xxx data tags, but I can't get any sort of reference to the application module object that would allow me to invoke the methods. I have tried editing the application module to expose the methods as client methods, but still can't get a reference to them.
    My main questions:
    1. Is there a way to invoke the custom methods somewhere between the jbo:ApplicationModule tag and the jbo:ReleasePageResources tag?
    2. Is there a way to declare and use the application module without using the jbo:ApplicationModule tag? Would I ever benefit from doing this?

    Alan, here's how to call a custom method String getSomeInfo() that I've created on my application module, MyModule in this example. Also, in this example the id parameter in the ApplicationModule tag is "am" (<jbo:ApplicationModule id="am"...):
    First, edit your application module. In the app module editor, go to the Client Methods tab and move getSomeInfo into the selected list.
    Next, edit your JSP to call your custom method.
    <% MyModule myAm = (MyModule)am.useApplicationModule(); String someInfo = myAm.getSomeInfo(); %>
    You also have to add the correct import statements to the page tag in your JSP:
    <%@ page contentType="text/html;charset=windows-1252" import="oracle.jbo.*, MyModule.common.*"%>
    Hope this helps
    Blaise

  • How to use JSP custom tag lib in PAR file?

    Hi All,
    I am trying to customize mastheaderpar file. For that I have downloaded relevant par file and making the changes accordingly.
    As part of the changes I would require to use JSP custom tag library in my par file.
    I have the TLD file and relevant classes in the jar file. I would like to know where and what kind of modifications have to be done to use the jsp custom tag library.
    I tried modifying some things in portalapp.xml but was not successful.
    Please help me on how to proceed with this? It would be great if you can provide the xml entry to use this tag library
    Thanks
    Santhosh

    Hi Johny,
    Thanks for the reply. Actually I am able to change colors etc. with out any problem.
    My requirement is to use XMLTaglib in mastheader par file. This tag lib is from apache tomcat. I have the relevant TLD and class files. I copied TLD file into taglib dir of portal-inf and class file in src api.
    And I have added the following line in portalapp.xml under component-profile section of default
    <property name="tlxtag" value="/SERVICE/Newmastheader/taglib/taglibs-xtags.tld">
    Is this the right way to use tag lib? Actually before adding this line I used to get the error saying "Error parsing taglib", but now the error does not occur and I am getting new error. This is an exception in one of the taglib classes.
    Could any one provide me some inputs on how to check this error?
    Thanks
    Santhosh

  • How to use a custom css with a ditamap?

    I'm still trying to get to grips with some DITA Frame basics and another piece of info that I would like to have is how to get the ditamap to use a custom css when it is output to xhtml with the DITA OT. Is there any simple non-super-techie way to do this without having to learn how to hack the ANT programs?
    Under the StructureTools menu, there is an Import CSS styles item, but I can't find instructions on how to use it accessible to my level.
    Also, is there a way to apply a company stylesheet to the Responsive html output generated with the new Publish tool? I realize the two provided templates can be modified element by element, but it does mean a lot of modification, and it would be cool if we could just invoke the stylesheets that already govern our web site so that the output could match.
    Thanks to anyone who can help,
    Elisa Roselli
    Cambridge Imaging Systems

    Hi Elisa...
    The short answer is .. no.
    When you publish through the OT, you're just passing control off to an Ant target and the DITA-OT processing. You'd need to modify the files in the OT to use a modified CSS. Note that the "easy" way to do this is to just edit the CSS file directly in the OT file structure. The "proper" way to do it is to develop an OT plugin and set up a new Ant target that uses your styling instead of the default. You'd change the Ant target that FM uses so it calls yours (don't recall where this is but it can be done).
    One thing that may be useful to know is that when you set the value of the @outputclass attribute on an element in DITA, the corresponding tag in the generated HTML is assigned a @class attribute with that same value. This lets you set "styling" in DITA that is applied to the output. You still need to get your custom class definitions ino the CSS.
    The Import CSS item on the StructureTools menu has nothing to do with OT publishing (or anything that you'd likely be using).
    I'm not aware of a way to apply a stylesheet to the Publish tool .. I thnk you have to go through the process of mapping styles manually. I could be wrong, and if so, hopefully someone else will jump in to help.
    Cheers,
    …scott

  • How to use the custom role which is created by user

    Hi,
    Can any one suggest how to use custom role created by developer in webcenter portal.
    Thanks in Advance
    Regards,
    Ankur Bhatia

    Hi Daniel,
    Thanks for ur Reply,
    But i am not able to understand where to write the above code.
    Also Suppose if a role "GeneralAdmin" is activated for a user then how it behaves like a "GeneralAdmin".
    Means where is the code was written so that it behave like GeneralAdmin after activation.
    Thanks & Regards,
    Ankur Bhatia
    Edited by: 986921 on Mar 5, 2013 3:49 AM
    Edited by: 986921 on Mar 5, 2013 3:49 AM

  • How to use JNI with Servlets

    Hi
    i was trying to do some example with JNI. I can use JNI with standalone Java application but I just cannot figure out how I can use JNI with Servlet.
    Can some one show me a sample code using JNI with Servlets.
    thanks very much

    hi,
    I am also facing the same problem,
    when I am using JNI with stand alone application it works fine but when i tried to use it with a servlet It gives unsatisfied linker error
    stack: java.lang.UnsatisfiedLinkError: createSocket
         at RelayConnector.createSocket(Native Method)
         at RelayServlet.doGet(RelayServlet.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
         at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:458)
    It seems i have to do some path settings in my iplenet web server.
    If some one have faced the problem i would be glad to know the solution for this, i am literally bugged up,....

  • How to use a customer exit in WebI

    Hi expert,
    I read from official SAP document that customer exit variable are supported within WebI query.
    I created an universe based on a query bex. In this query I use a variable exit for 0calmonth2.
    Within the WebI universe I don't see any variable.
    How can I use/build a customer exit variable in my WebI query?
    System feature: BO 3.1
    Many Thanks.
    Claudia

    Hi,
    I havethe same issue, even though I place the user exit variable in Filter section, its not working as expected in WEBI/crystal.
    the variable that i have created will assign default value as sysdate.its working fine BW.
    Are there any extra settings at BEX/BW level which have to be set before using user/sap exit variables in webi/crystal?
    How should the user/customer exit variables be defined in order to get them carried properly to webi or crystal, I mean what should be the properties set for these variables?

  • How to use a custom KeyManager in nonblocking SSLSocketChannel

    In our existing project I had to replace the nonblocking SocketChannel by nonblocking SSLSocketChannel. My implementation of the nonblocking SSLSocketChannel hides all the SSL stuff and can be used like a SocketChannel in the whole project you just have to use the SSLSocketChannelProvider instead of SocketChannelProvider in one place.
    Now I have a new requirement . Different server-certificate should be used for different IP-Addresses on the same SSLServerSocket. The relationship between IPs and certificates is well-know. The first idea was to use a custom KeyManagerDelegate which extends X509ExtendedKeyManager to choose the server certificate. The KeyManagerDelegate should delegate the calls to a KeyManager obtained by
    KeyManagerFactory.getInstance("NewSunX509").getKeyManagers();This works if I use a blocking SSLServerSocket obtained by SSLContext.getServerSocketFactory().createServerSocket();
    But the KeyManagerDelegate is never called by the SSLContext if I use my own nonblocking SSLServerSocketChannel. Instead of calling my KeyManagerDelegate the SSLEngineImpl throws an Exception
    javax.net.ssl.SSLHandshakeException: no cipher suites in common
         at com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:951)
         at com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:466)
         at com.sun.net.ssl.internal.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1092)
         at com.sun.net.ssl.internal.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1064)
         at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:452) The next thing I’m going to try would be to get the SSLContext to use my own SSLSocketChannelProvider as ServerSocketFactory.
    Or I use different SSLContext for each incoming connection, which would break my clean design as the server had to mess around with building new SSLContext. Another possibility is to implement a callback in the ServerSocketChannel to get a new SSLContext for each accepted connection. This would safe my design but looks like an ugly workaround to me and I'm not sure yet if it works.
    Any better ideas?
    Thanks Domi

    Thank you for your response.
    At the moment I try this in my unit-test (this is the working blocking code)
    final KeyManagerFactory kmf = KeyManagerFactory.getInstance("NewSunX509");
    final KeyStore ks = KeyStore.getInstance("JKS");
    ks.load(new FileInputStream(System.getProperty("javax.net.ssl.keyStore")), password);
    kmf.init(ks, password);
    final KeyManager[] km = kmf.getKeyManagers();
    final SecureRandom random = new SecureRandom();
    context.init(new KeyManager[]                                                                   //TrustManager not shown here
             {new KeyManagerDelegate((X509KeyManager) km[0])}, tmf.getTrustManagers(), random);
    final ServerSocket serverSocket = context.getServerSocketFactory().createServerSocket();
    serverSocket.accept();The KeyManagerDelegate just delegates all calls to the underlying KeyManager (shown at the end)
    or (not working)
    final KeyManagerFactory kmf = KeyManagerFactory.getInstance("NewSunX509");
    final KeyStore ks = KeyStore.getInstance("JKS");
    ks.load(new FileInputStream(System.getProperty("javax.net.ssl.keyStore")), password);
    kmf.init(ks, password);
    final KeyManager[] km = kmf.getKeyManagers();
    final SecureRandom random = new SecureRandom();
    context.init(new KeyManager[]                                                      //TrustManager not shown here
             {new KeyManagerDelegate((X509KeyManager) km[0])}, tmf.getTrustManagers(), random);
    provider = SSLSelectorProvider.provider(context);                             //My SSLProvider
    final ServerSocketChannel ssc = provider.openServerSocketChannel();  // My SSLServerSocketChannel
    final SSLSelector sel = provider.openSelector();
    ssc.register(sel, SelectionKey.OP_ACCEPT, new AcceptHandler());the SSLEngine is created by the SSLSocketChannel resulting from the accept in the SSLServerSocketChannel. It uses the same SSLContext as the provider, but here the KeyManagerDelegate is never called.
    Or what do you mean by associated, did I miss your point?
       private static class KeyManagerDelegate
          extends X509ExtendedKeyManager
          private final X509KeyManager _manager;
          KeyManagerDelegate (final X509KeyManager manager)
             _manager = manager;
          @Override
          public String chooseClientAlias (final String[] arg0, final Principal[] arg1, final Socket arg2)
             return _manager.chooseClientAlias(arg0, arg1, arg2);
          @Override
          public String chooseServerAlias (final String arg0, final Principal[] arg1, final Socket arg2)
             return _manager.chooseServerAlias(arg0, arg1, arg2);
          @Override
          public X509Certificate[] getCertificateChain (final String arg0)
             return _manager.getCertificateChain(arg0);
          @Override
          public String[] getClientAliases (final String arg0, final Principal[] arg1)
             return _manager.getClientAliases(arg0, arg1);
          @Override
          public PrivateKey getPrivateKey (final String arg0)
             return _manager.getPrivateKey(arg0);
          @Override
          public String[] getServerAliases (final String arg0, final Principal[] arg1)
             return _manager.getServerAliases(arg0, arg1);
       }

  • How to use a custom wallpaper in 5030

    Hi!
    Is it possible to use a custom wallpaper in 5030? Obviously MMS messages are not supported, so is there any way to upload and use a personal wallpaper in 5030?

    if you recieve an image from mms you can save the object to gallery and then select it as wallpaper
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

Maybe you are looking for

  • How to call TimesTen "command" from program

    I m trying to call command "dssize" from my java program. I can call any built in procedure with callable statement, but for "dssize" is not working. is that possible? Thank you and best regards.

  • Error 1921 acrobat update service could not be stopped upgrading from 9 to 10 or 11

    The installers uninstall 9, looks like it's about done, then is trying to stop adobe ARM service and can't so it fails. I've run the AdbeArCleaner to try to get a fresh start, but it seems like I've broken something, and I hate being stuck 2 versions

  • Extra task instruction email sent when task is claimed from group que

    Jasmin or whoever can help, Task instruction and reminder emails are sent correctly to my group members but when someone claims a task from the group que they get another task instruction email as soon as it hits their personal que. Is this a bug or

  • Editing 1 photo multiple times.

    I am having a hard time when I open a photo to edit more then one time. Exp. I edit a copy in color in lightroom 3, then I edit with Photo Shop CS5 (copy with lightroom settings). Once I edit in Photo Shop and Save As I can no longer go back into Lig

  • CPU cooler

    Hello, In order to overclock more my system I'm searching a great CPU cooler. In my other pc ( Athlon XP with nforce2) I have a thermaltake Volcano 7+ that goes very well. So I'm am tempted to buy Thermaltake spark 6+ cooler ( with the plus of an eas