Opening a seeded OAF page from custom JSP page.

Hi All,
We have requirement to open a seeded OAF page from custom JSP page.
When we try to open URL of an OAF page after passing URL input parameters, we are always getting following error:
'You have insufficient privileges for the current operation. Please contact your System Administrator.'
On directly accessing the seeded OAF page, its encoding all the input parameters passed in URL. Also some more encoded parameters are getting added to the URL dynamically.
Is there any standard way exists to invoke seeded OAF pages without passing encrypted parameters to it? Also where can we get more details about
encrypting OAF URL parameters.
Any pointers would be appreciated.
Thanks in advance!
Saurabh

Have you duplicated entire Customer Service module's menu in your responsibility?
or Also ping me the menu name..
--Prasanna                                                                                                                                                                                                                                                               

Similar Messages

  • How to open a new browser window from a JSP page?

    Hi,
    I am picking up records from the database and displaying each record in a seperate text area field using the JSP code. I should be able to display the content ( available in the text area) in a seperate window if the user clicks on one icon.
    Is it possible to open a new browser window using JSP? If yes, how can I write information on the new browser window?
    Thanks in advance.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • Conditionally opening a new browser window from a JSP page

    When the user clicks on a button in my JSP page, I'd like to launch a new browser and display certain things in that browser window while leaving the original browser window open. The new browser should only be displayed if certain conditions are met.
    My thought was to invoke a javascript method in 'onLoad' which would determine if the new window needs to be launched.
    This is kinda what my page looks like:
    <jsp:root version="1.2" ................>
        <jsp:directive.page import="java.util.*, com.test.Configuration" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
         <ui:body binding="#{Page1.body1}" id="body1" onLoad="launchWindow();">     
         </ui:body>
       </f:view>
       <script type="text/javascript">
            function launchWindow(){
             if (Configuration.openWindow()) {
              window.open("hello.jsp", "newWindow", 'toolbar,width=400,height=400');            
        </script>     
    </jsp:root>
    My problem is that the call to "Configuration.openWindow()" does not resolve correctly. If I remove that call and simply make a call to "window.open()" all works. But once I put the condition in, nothing happens. I do not see an exception in my browser window but a new browser window does not open.
    Is my syntax correct. Can I make a call to the static method 'openWindow()' in my class 'Configuration.java'.
    I posted this same query on the JSF forum but received now replies. My question is more suited to the JSP forum and hence I'm posting this question here.
    thanks,
    tsc

    I have made some changes so that I do not directly access the 'Configuration' class in my javascript.
    I have a hidden field on my form and when the user clicks the button, in my back bean, I set a value for the hidden field. In the javascript function 'launchWindow()' I check if a value has been set for the hidden field and if yes, I open a new window.
    <ui:body binding="#{Page1.body1}" id="body1" onLoad="launchWindow(document.forms[0]);">
    <h:inputText id="hiddenField" value="#{formBean.hiddenValue}" />
    <script type="text/javascript">
            function launchWindow(form){
                alert("in lw");
                var test = form["form1:hiddenField"].value;
                alert("got test");
                if (test !=  "")
                    window.open("hello.jsp", "newWindow", 'toolbar,width=400,height=400');            
                alert ("done test");
    </script>When my page is first loaded, the launchWindow() is called and all the alerts popup as expected.
    When I click on the button (the back bean sets the value on the hidden field), my page is reloaded but this time its blank.
    Any ideas as to why this maybe the case?
    thanks,
    tsc

  • How can I link to a jsp page from another jsp page within websphere portal?

    Afternoon all,
    I have a websphere portlet which displays a jsp page. I want to put a hyperlink on the jsp page which when clicked will open another jsp page.
    Does anyone know how to do this?
    Thanks,
    Alex

    The anchor tag is the correct one for generating clickable links.
    <jsp:forward> is for transferring control at the server end. Its when you decide to change which page you want to show the user. ie check user is logged in. If not then forward them to login page, else display current page.
    I tried that. It does open the jsp page
    but the place and page links in the portal theme get screwed up.Whats mucked up about them? Do they point where they shouldn't?
    You might try using a <base> tag to set where relative links are resolved from.
    Cheers,
    evnafets

  • Loading a .jsp page from another .jsp page?

    Hi,
    I have following IF statement in "Main.jsp" page to load "ChangeJob.jsp" page. I tested and made sure that The IF condition was true(alert function executed), but ChangeJob.jsp didn't load.
    Did i miss something?
    Main.jsp
    <HTML>
    <% if ( (!(woSt.equals("Indirect"))) && (woSt.length()!=0) ){%>
    <SCRIPT>
    alert("click OK to load Changejob.jsp");
    document.form1.action="ChangeJob.jsp";
    document.form1.submit();
    </SCRIPT>
    <%} %>
    <BODY>
    <form name="form1">
    </form>
    </BODY>
    </HTML>

    Hi,
    The folloing code I am writing but in this my if loop is not working propery.
    the problem I am checking for this...
    if((!(progcode.equals(pall))) && (!(dcode.equals(dall))) && (!(yr.equals(yall))))
    in the belo program I am using but always it is going in to the loop. when they are equal and when they r not eqal....
    I have given compleate code in here pleace tell me hot to get it worked it properly.....
    <%@ page language="java" session="true"%>
    <%@ include file="connect.jsp"%>
    <%! ResultSet rs2,rs1;
    Statement stmt1,stmt2;
    %>
    <%
    String gpcode=null,pname=null,dname=null,total=null,totalyr=null,gtotal=null;
    int gdcode=0,gyear=0,gdata=0,deptcode=0;
    String pall=null,dall=null,yall=null;
    pall="all"; dall="99"; yall="1900";
    String progcode=request.getParameter("programname");
    String dcode=request.getParameter("departmentname");
    String yr=request.getParameter("year");
    deptcode=Integer.parseInt(dcode);
    int year=Integer.parseInt(yr);
    boolean flag=false;
    %> <%= progcode%><%=" "+ dcode%><%= " "+yr%><br>
    <%= pall%><%=" "+dall%><%=" " +yall%><br>
    <%= progcode%><%= deptcode%><%= year%>
    <%
    if((!(progcode.equals(pall))) && (!(dcode.equals(dall))) && (!(yr.equals(yall))))
    stmt=con.createStatement();
    rs=stmt.executeQuery("select * from data where progcode='"+progcode+"' and deptcode='"+deptcode+"' and year='"+year+"' ");
    flag=false;
    if(rs!=null){
    if(rs.next()){
    flag=true;
    if(flag){
    gpcode=rs.getString("progcode");
    gdcode=rs.getInt("deptcode");
    gyear=rs.getInt("year");
    gdata=rs.getInt("totalnoofstud");
    stmt1=con.createStatement();
    ResultSet trs=stmt1.executeQuery("select * from program where progcode='"+gpcode+"' ");
    if(trs.next()){
    pname=trs.getString(2);
    stmt2=con.createStatement();
    rs=stmt2.executeQuery("select * from department where deptcode='"+gdcode+"' ");
    if(rs.next()){
    dname=rs.getString("deptname");
    else {
    response.sendRedirect("viewdata.jsp?flag=false");
    stmt=con.createStatement();
    rs=stmt.executeQuery("select sum(totalnoofstud) from data where progcode='"+progcode+"' and deptcode='"+deptcode+"' ");
    if(rs.next()){
    total=rs.getString(1);
    stmt=con.createStatement();
    rs=stmt.executeQuery("select sum(totalnoofstud) from data where year='"+gyear+"' ");
    if(rs.next()){
    totalyr=rs.getString(1);
    else{
    stmt=con.createStatement();
    rs=stmt.executeQuery(" select sum(totalnoofstud) from data ");
    if(rs.next())
    gtotal=rs.getString(1);
    %>
    <html>
    <head><title>Passed Out Student Data</title></head>
    <body background="foggy2.jpg">
    <br><br>
    <%
    if(progcode!=pall && dcode!=dall && yr!=yall){%>
    <%@ include file="getdatasingle.jsp" %>
    <%}
    else{%>
    <br><br><br><center><b><font color="maroon" size=+3>Total Number Of Students Passed Out Till Now Are </font><font color="red" size=+3><%=" "+ gtotal%><
    /font></b></center>
    <%}%>
    <center>
    <input type="submit" name="ok" value="OK">
    </center>
    </body>
    </html>
    Regards,
    Madhavi

  • How to Build Custom JSP Page to bypass Oracle Apps Login

    Hi All,
    Can some one guide me how to develop a custom jsp page to bypass Oracle Apps R12 Login.
    Actually Our requirement is some external user will enter the login details in some third party login page with the third party generated username and passwrod, that user's credentials are mapped to oracle system,so as soon as they enter credentials having validated it has to redirect that external user to Oracle Apps R12 Home Page, where responsibilities are shown. Currently that third Party login page is set to redirect to RF.jsp but that is not working and throws this error:
    "You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session.Please select Home to Proceed"
    So I am planning to build a custom jsp page to resolve the error.
    As soon as user enter credentials in the third party login page, it will be redirected to my custom login page which in turn redirect external user to Oracle Apps R12 Home Page, where responsibilities are shown. Is it possible? If yes what JSP Page/Servlet I have to invoke from custom JSP Page and what all URL parameters or session parameters and cookies parameter I have to pass or set.
    Can anybody please help me...
    Its very urgent. We are running short of time. Its a sev 1 issue.
    Please reply soon.
    Thanks,
    Raja Dutta

    Hi,
    Thanks for the update.
    Sir its not about calling the JSP Page from OAF page.
    My requirement is what I have explained above.
    Please suggest its urgent.
    Thanks,
    Raja Dutta

  • Passing values to current jsp page to another jsp page in ADF

    Hi All,
    In my adf application i want to get the appropriate field value of selected row and i want to send that value to the another jsp page from curent jsp page when will we click on button or link.How can i do this.Please give me your valuable suggestions.I'm using jdeveloper 11.1.1.5 version. Thanks!

    Hi,
    Thanks for the reply. I didnt understand the execution of the process. can you please send any sample for text like hello world is passing to second jsp page. or any simple sample?

  • Error while calling standard OAF page from custom Oracle Form

    Hi,
    I am calling standard OAF page from custom oracle form using the following code.
    FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'FUN_TRX_ENTRY_OUT_VIEW_BATCH',
    OPEN_FLAG =>'Y',
    SESSION_FLAG =>'N' ,
    OTHER_PARAMS =>'&ViewBatchID = "' || NAME_IN('FUN_AGIS_LINE_D.BATCH_ID') ||
                        '&CallingFunction = "' || 'MANEXPINQ' ||'"');
    But I am getting this error.
    oracle.apps.fnd.framework.OAException: This request was not processed as the request URL %2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffun%2Ftransaction%2Fentry%2Fwebui%2FViewOutBatchPG%26OAPB%3DFUN_PRODUCT_BRAND%26OAHP%3DFUN_SSWA_MENU%26OASF%3DFUN_TRX_ENTRY_OUT_SEARCH%26_ti%3D1217029204%26language_code%3DUS%26%26ViewBatchID%20%3D%20%22203148%26CallingFunction%20%3D%20%22MANEXPINQ%22%26CallFromForm%3D%27Y%27%26oas%3DqZqg3tmdEdUNyw_HtskVow.. contained potentially illegal or un-encoded characters. Please try again by submitting a valid URL or contact your systems administrator for assistance.
    Please let me know any thing I missed out here.
    Any suggestion will highly appreciated.
    Thanks & Regards,
    Sunita

    I am using FND_FUNCTION.EXECUTE to call a OAF page from PLSQL in R12. I am getting following error"Error(9,23): PLS-00302: component 'EXECUTE' must be declared"

  • How to call a concurrent program from a Custom JSP page.

    Hi,
    I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
    and added the JSP Page to the OA_HTML top.
    Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
    ConcurrentRequest cr= new ConcurrentRequest(con);
    int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
    I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
    I tried the below code in my JSP page and getting -1 for all test variables :-
    int userId = wctx.getUserId();
    int respApplId = wctx.getRespApplId();
    int respId = wctx.getRespId();
    I think i need to set the context in JSP page to run the program..
    Pls help ....
    Regards
    Saurabh Jaiswal

    Hi,
    Thanks for the reply,,,
    This is a possible solution but this will allow to run the program anyhow.
    But the procedure which i call thru callable statement will start with
    fnd_global.apps_initialize (3825, 50603, 704);
    fnd_request.submit_request API call.
    Now, the values of user and Responsibilty is required in the program and it changes.
    With this approach we have to hardcode the user and resp.
    The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
    Need to capture user Id and RespId.
    How can i set the apps Context in JSP page???
    Regards
    Saurabh Jaiswal

  • Passing parameter to custom JSP page

    From an appraisal, I am adding a link thru personalization that opens a custom JSP page in a new window. I somehow need to pass the appraisal_id context from the old page to the new page so the new page displays the appropriate information.
    This is tricky because the original appraisal page isn't calling the new page within its code. Is there any way possible to pass a parameter such as appraisal id to this new page?
    Thanks for any help.
    M

    M,
    Have you tried passing the value via HTTP session.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • How to call a report from a jsp page

    Hi
    1) Can anyone please tell me how can i view Discoverer report from a jsp page instead of opening it directly thru plus/viewer.
    2) Please clarify do i need to install Infrastructure and OID for it.
    Please advice.
    Thanks

    You need the AS infrastructure if you want to use connections. If you do not intend using connections, you do not require the infrastructure.
    Note that you cannot pass in passwords in the URL any longer. You do not need to pass passwords if you pass in a Discoverer connection id (but then again - if you don't use connections, then you do need to still pass in the connection information - username, password, database, language, EUL)
    I have a post on my blog that describes how to pass a password using an HTML Form submit - http://oraclebi.blogspot.com/2005/08/passing-password-to-viewer.html
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • How to open NEW PORTAL PAGE from current portal page ?

    I'm very confuse with my problem.
    I have 2 portal page.
    portal page I has 2 portlet : portlet A & portlet C.
    portal page II has 2 portlet : portlet B & portlet C.
    Now my customer want : start with portal page I, when i submit portlet A, program will open portal page II.
    I don't know the way to call new portal page from current portal page. Help me, please.
    Thanks.
    Edited by: young_hero on Oct 30, 2008 1:12 AM

    Could you please help me how to call a .html page
    from a Pl/Sql procedure or trigger ?
    Thanks & Regards
    Kalyani KothaKalyani,
    Could you explain a little more exactly what you're trying to acheive? I'm not quite sure what it is you're asking for. Are you asking: "how would you/can you open a browser and direct it to a URL with PL/SQL?"
    Earl

  • Edit a word document from a JSP page

    hi all,
    i would like to know if it is possible to edit a Word document from a JSP page (without uploading it).
    thanks.

    Technically no. But what you can do is output a word document to the browser with the contenttype "application/msword" and if word is installed it will be opened inside the browser.

  • How do we translate Custom JSP pages to Multiple languages

    Hi All,
    I have custom JSP pages in my appplication.
    I need to convert them to arabic specific.
    Is there any way out for this as like we do translation for OAF pages.
    Please suggest....
    Thanks,
    Nagu

    Nagu,
    You can use ResourceBundle / FND Messages to retrive the page text in JSP Code instead of hardcoding it.
    HTH.

  • Sending Email From a JSP Page

    Hi All,
    Can anybody tell me how to send email from the jsp page. My requirement is to send email to the user when he click on a button on the jsp page.
    thanks and regards
    MSoldier

    You need to install an SMTP server, or access an existing one.
    Contact your network administrator about this, he should be able to help you.
    PLEASE don't go around installing your own mailservers on the internet unless you know very well what you're doing, as most of those are wide open to abuse by spammers and people spreading email virusses as relays (plus it's likely against company or ISP policy).
    And NEVER use someone else's servers without their consent to send email.

Maybe you are looking for