Need to Call OA Page from Servlet

Hi All,
My requirement is to call OAF page from the servlet.
Can anyone please give me some pointers to achieve this.
Thanks
Anoop

hi
anoop ,check if this thread can help u
how to call a OA page from a jsp page
thanx
Pratap

Similar Messages

  • How to call a page from an iview

    HI SDNs
    I have a requirement as follows .
    I need to call a page from an iview .  for that i developed a html and i gave the hyperlink to call the page.
    When i click on hyperlink it is calling page but iviews are not displayed. it is showing masterhead and DLN and but iviews are not shown
    Is there any soultion with out solution to display the iviews.  i Appreciate if you help at the earliest.
    Thanks
    Ramana

    Did you build your hyperlink using "NavigationTarget"?
    ex:
    http://myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole/myPage
    check the below link:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/014421d21d6fade10000000a11466f/content.htm
    Greetings,
    Praveen Gudapati

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • Problem in calling JSP page from a servlet

    can anyone please tell me how to call a JSP from servlet?
    My code is:
    ServletContext sc = this.getServletContext();
                                                 RequestDispatcher rd = sc.getRequestDispatcher("./Welcome.jsp");
                                                 if (rd !=null)
                                                      try
                                                           rd.forward(req, res);
                                                      catch (Exception e)
                                                           sc.log("---------------Problem invoking JSP.------------------", e);
    I n the browser when i call this servlet it gives error-404.
    NOT Found.
    please help.

    I would try to change "./Welcome.jsp" to "/Welcome.jsp". I'm not sure what that period will do.
    Are you able to access that JSP directly from your browser (even if it's not designed to be accessed that way)? If not, then you have some other problem.
    When you say you get a 404 when you access the servlet, is that when you access the servlet, or when it tries to forward to the JSP? If you get the 404 when you access the servlet, perhaps your servlet-mapping to the servlet is invalid.

  • Urgent....How can i redirect to my jsp page from servlet in init() method..

    How can i redirect to my jsp page from servlet in init() method..Becoz that servlet is calling while server startsup..so im writing some piece of code in init() method..after that i want to redirect to some jsp page ...is it possible?
    using RequestDispatcher..its not possible..becoz
    RequestDispatcher rd = sc.getRequestDispatcher("goto.jsp");
    rd.foward(req,res);
    Here the request and response are null objects..
    So mi question can frame as how can i get request/response in servlet's init method()..

    Hi guys
    did any one get a solution for this issue. calling a jsp in the startup of the servlet, i mean in the startup servlet. I do have a same req like i need to call a JSP which does some data reterival and calculations and i am putting the results in the cache. so in the jsp there in no output of HTML. when i use the URLConnection i am getting a error as below.
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:707)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:705)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:519)
    at com.toysrus.fns.alphablox.Startup.callJSP(Unknown Source)
    at com.toysrus.fns.alphablox.Startup.init(Unknown Source)
    at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
    so plz do let me know how to call a jsp in the start up of a servlet.
    Thanks
    Vidya

  • Calling HTML file from servlet and vice versa...

    i have got few questions..
    1- if a site is made in HTML then what should be used to put user login functionality in it, servlets or jsp or other option(specify)?
    2- im trying to do with servlets, so when im calling doPost method from HTML page and sending data, everything working fine but because of this the page refreshes and the HTML coding get lost, so how can i stop that from happening if possible, like showing the same page with messege = "Logged in".
    3- how can i call an HTML page from servlet?
    4- how can i send data from servlet to HTML page?

    that i m aware of, but when a servlet is called then the page will refresh n it will display the things that you have mentioned in the servlet file n not the things that u have mentioned in HTML file, n the page will be blank if u have not mentioned any HTML coding in servlet file.
    so i need to knw how to call back that prev HTML file so that the things i want to display can be displayed, i knw the same can be done by adding the HTML code in servlet file but i would like to know if there is any way to call back the HTML file.

  • Calling OAF Page from Oracle forms

    Hi All,
    Is it possible to call an Oracle Forms from OAF page?
    I need to call a OAF page EAM material cost screen from oracle form using personalization.
    Please any one put on some lights on this issue.
    Thanks in Advance,
    Ramesh reddy
    Edited by: user642447 on May 13, 2011 4:33 AM

    Ramesh,
    yes, its possible to call oaf page from oracle forms.
    This has been specified step by step in Developer Guide. Refer it for more.
    Regards,
    Gyan

  • Apache 1.1, call XSQL page from ojsp

    I had it working before but now I lost it.
    I was able to call xsql page from jsp page
    using #include command. I am getting the following error.
    Include /xsql/demo/emp.xsql failed: can only include a JSP page.
    javax.servlet.ServletException: Include /xsql/demo/emp.xsql failed: can only include a JSP page.
    void oracle.jsp.runtime.OracleJspWriter.clear()
    void xsql.demo.IncludeXsql._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.app.JspApplication.dispatchRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.JspServlet.doDispatch(oracle.jsp.app.JspRequestContext)
    void oracle.jsp.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.jserv.JServConnection.processRequest()
    void org.apache.jserv.JServConnection.run()
    void java.lang.Thread.run()
    any ideas ?
    null

    please check your dbc file, there is something wrong with it, get the dbc file from your unix machine and try.
    Thanks
    Tapash

  • Where is the setting to set up pages instead of spreads? Need to pdf separate pages from a spread setup.

    Where is the setting to set up pages instead of spreads? Need to pdf separate pages from a spread setup.

    This is the selection you're looking for:

  • Can I call JSP page from forms6i C/S?

    Hi.
    How can I call JSP page from forms6i Client/Server?
    Flavio.

    What is your problem with a host command? You can use:
    host('c:\program files\internet explorer\iexplore.exe http://server/page.jsp');
    There a disadvantage indeed: you have to close the browser before you can return to the form.

  • I need to call main window from a Standard program

    I need to call main window from a Standard program for SAP Script. I have wrote the code like this but it is not working. Kindly help me on that.
          FORM OPEN_AND_START_FORM                                     
    FORM open_and_start_form.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = space
          form     = 'ZOTC_SLI'
         language = print_co-spras
         OPTIONS  = pr_options
        EXCEPTIONS
          canceled = 01
          device   = 02
          form     = 03
          OPTIONS  = 04
          unclosed = 05.
      CHECK sy-subrc IS INITIAL.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          window  = 'MAIN'.
    ENDFORM.                    "OPEN_AND_START_FORM
          FORM CLOSE_AND_END_FORM_FORM                                  *
    FORM close_and_end_form.
      CALL FUNCTION 'END_FORM'.
    ENDFORM.                    "CLOSE_AND_END_FORM

    Hi,
    FORM CLOSE_AND_END_FORM_FORM *
    FORM close_and_end_form.
    CALL FUNCTION 'END_FORM'.
    change this to CALL FUNCTION 'close_FORM'.
    as you are not using the start_form
    you can use End_form
    i hope you understand now
    ENDFORM. "CLOSE_AND_END_FORM
    reward points if helpful.
    thanks & regards,
    venkatesh

  • Calling ADF page from form

    We wanted to call ADF page from the form. are there any suggestions. i didnt see any discussion in this form

    Hello,
    You can call any Web URL from Forms via the Web.Show_Document() built-in.
    Francois

  • Need to call a repaint from another class

    I need to call a repaint from another class, but since I can't make the paint() method a static one, it will not let me access the repaint method, any ideas? thanks guys
    Conor

    ok here's a very basic idea of whats goin on...
    <code>
    MainFrame class (in which the paint method resides)
    public void paint()
    // draw lines
    // opens an instance of the settings window
    void procSettings_actionPerformed(ActionEvent e)
    if(procRunning)
    procRunning = false;
    timer.stop();
    procPaused = true;
    procSettings s = new procSettings();
    s.setSize(370, 467);
    s.setLocationRelativeTo(null);
    s.setResizable(false);
    s.setVisible(true);
    ProcSettings class
    if(certain condition)
    // reset the lines of the graph
    // REPAINT <--- I want to know how to call this repaint, MainFrame.repaint() does not work
    thanks

  • Calling OA page from PL/SQL or HTML

    Is there any mechanism to call OA page from PL/SQL or HTML ?
    The reason for asking is , in iReceivables page there is section called Content Layout and which is handled by PL/SQL package. I want to call OA page from this section.
    in 1158 it was working fine but in 12i it is not working.
    Thanks,

    Hi Srini,
    Thanks for your reply...
    Basically I written the following code in ARI_CONFIG package to call a OA page ... this code was working in 1158 where as in 12i it is not working.
    Just want to know whether the following mechanism is supported in 12i or not ...
    Begin
    v_bill_to_customer_id := 0;
    Select distinct bill_to_customer_id into v_bill_to_customer_id from ra_customer_trx_all where printing_pending = 'Y' and bill_to_customer_id = p_customer_id;
         IF v_bill_to_customer_id > 0 then
    p_output_string := p_output_string||'</ul></td>
    </tr>
    <tr>
    <td height="8" class="OraBGAccentDark"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td><ul>
                                       <li class="OraLine">';
                                       p_output_string := p_output_string || '<font color=blue>Click For Test Newest Invoices<input type=button value=Go OnClick=window.location.href="/OA_HTML/OA.jsp?akRegionCode=ARIACCTDETAILSPAGE&akRegionApplicationId=222&Iracctdtlgocontrol_ext=&Ircustomerid='||p_encrypted_customer_id||'&Iracctdtlstype_ext=PENDING&Iraccountstatus_ext="></font></li>';
    End If;
    Exception
    When Others then
         null;
         End;
    Edited by: user575383 on Jul 22, 2009 12:08 PM

  • Calling jsp page from plsql

    Please help me to the following
    How to Call jsp page from plsql??
    Please its urgent
    Edited by: 883730 on Mar 19, 2012 12:05 AM

    The best approach would be to change the behavior of your site so that it includes index.jsp as one of the default files. Typically that is done using the upper-level control files of the site. Here's a link from Sun that describes their approach.
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebApp4.html
    Actually, you don't say what type of webserver you're using, so it's really hard to guess. But if you were using an Apache webserver, you might want to review the "DirectoryIndex" directive here...
    http://httpd.apache.org/docs/2.2/mod/mod_dir.html
    In fact, if you were using Apache and didn't want to do that, you could do a redirect to another page using the "redirect" directive in the webserver control files as described here:
    http://httpd.apache.org/docs/2.1/en/mod/mod_alias.html#redirect

Maybe you are looking for

  • Data retrieval in non-scientific notation from Netezza database

    Hi, I have a requirement where my BPEL service fetches data from Netezza database. In the database, there is a field which is of type numeric(16,8) and holds values say '0.00000000'. The select query on the table rerieves data in its scientific notat

  • Onscreen touch buttons problem

    i am using COMPAQ PRESARIO V6000. onscreen touch buttons are not working anymore, volume decreases itself and then can't be increased...as if increased manually.....same time decreased itself. reallly confusing and mess...plz help

  • Login pages

    Where can I find a tutorial of how to create a login page from scratch?

  • Apple TV application

         I was thinking that the simplicity of the 1st gen Apple TV, for things like storing movies and even purchasing movies and music straight from the iTunes store are the things that really made it worth it to me in the first place. I do love the ad

  • Is it possible to transfer PSE11 camera raw adjustments?

    I found a thread where it says it's not possible to open multiple images in PSE-11's Camera Raw.  But I would like to transfer the adjustments I make for one image in camera raw to another image.  Is that possible? Thanks, Skyzoomer