How to handle oas parameter in the URL

Hi,
I am very curious about the oas parameter in the next URL how to form the value:
OA_HTML/OA.jsp?_rc=<..._LAYOUT>&_ri=275&addBreadCrumb=RS&<...Id>=<param_value>&_ti=2094430068&oapc=3&oas=l305LKdSwzg9iJqy8q00ew..
If I use String createURL() or setForwardURL() then I can make some value for oas parameter. My issue is that the by these methods made values are not correct I would like to manage this value by myself. How can I manage this value, put, set, get anywhere?
Thanks in advance,
Cafer

Hey,
Thank you all for your replies. Actually i forgot to say something to you professionals,
In my Pc, already, i have Oracle Web server which listens to 80, thats why for tomcat itlself i set 8084
as port number at the time of installation, since giving 80 failed to run. Without keeping this in mind, i blindly
changed the port 8084 into 80 in server.xml file, stopped and while starting i get " *The port 80 is already in use*"
Is there any way to skip this 8084?
i use tomcat 6, Waiting for your suggession!
Thanks ,
SRI.

Similar Messages

  • Receive a parameter in the URL in adf application

    Hello,
    using the sendRedirect to direct control to another adf application, as:
    ((HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse()).sendRedirect("some url");assuming that I am pushing parameters to the url, how can I read them in called application !!
    to make the post clearer, assume that I have two adf applications A and B,
    A will redirect the user to B using the sendRedirect method,
    where shall I receive the request to get the parameters or attributes added to the URL !!!
    hopefully I have made the post clearer so that you can help !!
    appreciated, thanks in advance.
    rgrds,

    For passing parameters to another ADF application, we could use as a parameter as part of the request parameter of the URL as mentioned in
    http://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl
    For reading the parameters in the another application (assuming CurrentDepartmentName is the parameter) ,
    HttpServletRequest request =
    *(HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();*
    String strvalue = request.getParameter("CurrentDepartmentName");
    Thanks,
    Navaneeth

  • HOw Can I remove faces from the URL

    I know that it's in the web.xml file but as soon as i remove the faces part from the file nothing works. Someone please tell me how to properly remove "faces" from the url. Example http:.//localhost:8080/croot/Page1.jsp
    Thanks in advance

    I know that it's in the web.xml file but as soon as i remove the faces part from the file nothing works. Someone please tell me how to properly remove "faces" from the url. Example http:.//localhost:8080/croot/Page1.jsp
    Thanks in advance

  • How to create a pdf for the URL attached to an invoice and send it as an attachment in a mail

    HI,
    I have requirement where i need to get the URL attached to an invoice, create the pdf and send as an attachement in a mail.
    The URL attached to an invoice can be seen by following the path : VF03-> Billing document->system->Services for object ->Attachement list.
    On searching through existing forums, i found that there is a table 'SRGBTBREL' which stores relationships of GOS object. On giving the invoice number in field 'INSTID_A', i could find an entry in this table.
    To get the content, i used the class CL_FITV_GOS, method GET_CONTENT. To this method i passed following values:
    IV_ATTA_ID = FOL21000000000521URL39000000000012 (The value if field INSTID_B from table SRGBTBREL)
    IV_OBJTP   = 'URL'
    On execution, i get URL link but the content table is empty.
    Could anybody provide some input on how i get the content? Or may be how i can create pdf from the URL link and attach it to mail as an attachment?
    Thanks,

    Hi Amit,
    Solution provided by you is working when the link length is one line but it is not working for more than one line
    Eg: say link is https://......80 [80 characters long]
    I will give    <a href="https://...72            [in first line]
                     73..80">click here</a>         [in second line]
    I will get the output as 73...80">click here
    But i want only CLICK HERE in my output..
    Please suggest solution.
    Thanks,
    Kavya

  • How to handle multiple selection in the Spark List control with checkbox as itemrenderer?

    Hi All,
    I am using checkbox as an ItemRenderer in spark list.
    I have a query.
    how to handle multiple selection in the Spark List control with checkbox as itemrenderer?
    how to retrieve the selected item label?
    Thank you in advance.

    Hi there, I'll tweak your code a little bit to something like this:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="vertical">
        <mx:Script>
            <![CDATA[
                 import mx.events.ListEvent;
                 import mx.controls.CheckBox;
               [Bindable]
               private var mySelectedIndexes:ArrayCollection=new ArrayCollection();
                private function onChange(e:ListEvent):void
                   if(CheckBox(e.itemRenderer).selected){
                             mySelectedIndexes.addItem(e.rowIndex);
                   }else{
                                  mySelectedIndexes.removeItemAt(mySelectedIndexes.getItemIndex(e.rowIndex));     
                   chkList.selectedIndices=mySelectedIndexes.toArray();
            ]]>
        </mx:Script>
    <mx:ArrayCollection id="collection">
            <mx:Object label="Test A"/>
            <mx:Object label="Test B"/>
            <mx:Object label="Test C"/>
            <mx:Object label="Test D"/>
            <mx:Object label="Test E"/>
            <mx:Object label="Test F"/>
            <mx:Object label="Test G"/>
        </mx:ArrayCollection>
    <mx:List id="chkList" dataProvider="{collection}" itemRenderer="mx.controls.CheckBox"  itemClick="onChange(event);" allowMultipleSelection="true"/>
    </mx:Application>

  • How to handle multiple request in the servlet

    how to handle multiple request in the servlet...
    Example:
    java forum...
    i'm login in the java forum at this time 1000 members make login in this....how happended in servlet?
    if we use thread how to implement in servlet ?

    Serlets are already threaded. The application container instantiates the servlet, then uses this instance in a new thread for every use.
    This is the reason that you should use (almost) no instance variables in a Servlet, but rather that (almost) everything should be local to the method.

  • How to handle an update of the same record from two different user  in JSP

    how to handle an update of the same record from two different user
    how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.

    Usually, if two users try to update the same row at the same time, you want the first to commit to succeed, and when the second commits, they should fail with the error that the row was being concurrently updated. They you may want to show them the new row values and give them the opportunity to merge their values with the new row values...
    How can you achieve this? Google optimistic locking.

  • How to pass and fetch multiple parameter in the URL of the Web Dynpro

    Please help me to fetch parameter in runtime from the URL in web dynpro allication. Like
    MyApplication?SAPtestId=Arun?SAPtestId=Kumar?Test2=Jaiswal;
    I want to fetch the value of the SAPtestId, Test1 and Test2 in the web Dynpro Application.
    Please help me on this asap. thanks

    Hi Arun,
    Passing parameter to a wen dynpro application is done throught default inbound plug, which exist in interface viewcontroller
    and you can access those parameter in implementaion of default inbound plug
    To pass parameter
    If MainWin is your main window of application then
    1.in MainWininterfaceview controller add parameters in default inbound plug.
    To access these parameter
    1. In implementaion of MainWininterface view right a code to access these parameter
    2.Store these parameters  in controller context, so you will be access it from any screen
    as
    public void onPlugDefault(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String SAPtestId )
        //@@begin onPlugDefault(ServerEvent)
    set  your controler context with SAPtestId
    //@@end

  • Why do I get this error when specifying a parameter from the URL?

    Hello,
    I am trying to "install" a parameter in a page, so that it's value can be specified in the URL and a VO updated according to this value.
    Here's is the page definition file, with an executable and a binding to a method call:
    <executables>
    <invokeAction Binds="prepareMainMenuView1" id="invokeQuery"
    Refresh="prepareModel"/>
    </executables>
    <methodAction id="prepareMainMenuView1"
    InstanceName="AppModuleDataControl.dataProvider"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="prepareMainMenuView1"
    IsViewObjectMethod="true">
    <NamedData NDName="param" NDValue="#{param.root_menu}"
    NDType="java.lang.String"/>
    </methodAction>
    if I run the MyMenu application with:
    http://127.0.0.1:7101/MyMenu-ViewController-context-root/faces/menu?root_menu=anything
    then I get this exception:
    ADF: Adding the following JSF error message: String index out of range: -1
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    Do you know why? Where do I fail?
    I followed the isntruction here:
    http://www.jasonsdevelopercorner.com/?p=65
    So far I have not been able to read a parameter in a way, do you have any example on how can I use parameters from URL from within a single page in an unbounded task flow?
    I worked all the day on this, but with no luck.
    Thanks

    I solved the problem. The invoked method was not part of the VO, but was part of the AM.

  • How to manage Locale info in the URL path, but not the query string

    We are building an application using Struts 1.1 and Tiles, on Oracle Application Server 10.1.3.3...
    I know this is a strange question... but we have a requirement to represent the locale info in the URL string using one of the following options:
    option 1: /eng/page.do?id=2 for english.../fra/page.do?id=2
    option 2: /page-eng.do?id=2 for english.... and /page-fra.do?id=2 for french
    We need to represent the 3 letter ISO lang code either in the directory structure, or suffix the page name (in our case, the struts action name)... we cannot replicate this using a parameter in the query string. I know this is odd, but that is what we are told to implement.
    Is there any robust way of implementing either option in Struts 1.1, JSP, JSTL etc...?
    Currently, we are looking at using a servlet filter to intercept the HTTP requests, parse the URL string, and extract the ISO lang value, and set locale and forward on the request.
    This poses a few problems... adding additional action mappings (page-eng... page-fra... page) to our struts-xml.config file to handle lang permuations... but the biggest issue is all the embedded html:link action values throughout our code...
    Because all our public facing URLs must comply with the rule, we need to change the html:link action to point to a different action, based on locale.
    Very inefficent, and I'm sure not industry standard best practice... we are using Tiles, and resource bundles for all our labels etc... but fall short in meeting this rule with regards to URLs and locale.
    Any advice or tips etc.. is greatly appreciated.

    The filter option sounds like a good solution. So it can receive the urls and parse them appropriately.
    You just need to take it one step further.
    Additional actionmappings in your struts-config should not be necessary.
    Filter:
    - analyses the url and sets the appropriate locale
    - adjusts the url such that the next level of the chain does not have to know anything about the locale being encoded in the url string.
    Thus your struts classes and mappings can remain unchanged
    /eng/page.do or /fra/page.do once through the filter should just look like /page.do to struts.
    That should get rid of half of your headache.
    Next the issue of generating urls.
    There are two approaches I can see here
    1 - use the filter approach again, this time with some post processing. Gather the generated HTML in a buffer, and do a find/replace on any urls generated, to put the locale encoding into them.
    2 - Customise struts to produce urls in this format. This would involve the html:link tag, and the html:form tag at the least (maybe others?). Get the source code for struts, and grab the html:link tag code. Extend that class to generate urls as you want them to be generated. I think you would need to extend the class org.apache.struts.taglib.html.LinkTag and override the protected method calculateURL. You would then have to edit/modify the struts-html tld to point the link tag at your classes rather than the standard ones.
    Option 1 is architecturally good because it gives you a well defined layer/border between having the locale encoded in the url, and not having it there. However it involves doing a find/replace on every html going out. This would catch all urls, whether generated by html:link tag or not.
    Option 2 requires customising struts for your own requirements, which may be a bit daunting, but has the advantage of generating the urls correctly without the extra overhead involved with option 1. Of course you would have to ensure that ALL urls are generated with the html:link tag.
    On reflection, I think option 1 is preferable, as both easier and quicker to implement, and doing a better separation in the architecture.
    Cheers,
    evnafets

  • SMP 3.0: how to handle header values in the SOAP WS using Integration Gateway

    Hi Experts,
    We have a requirement from our current customer where they are providing us a SOAP WS.For one of the method we are passing “username” & “password” as input parameters and getting one security key (some unique number) in the response. We are able to do OData modeling for the same method. So far, it is fine.
    For other method, we have to pass that ”security key” in header along with some other parameters in the body section. While doing the request mapping for this method, we don’t see any option for this key parameter apart from those parameters (in that body section).
    We found one publicly available WSDL to reproduce the same scenario:
    e.g http://api.geosvc.com/services/soap?wsdl . To access its one of the method/operation GetPlace,We have to pass APiKey and Cursor value in the header section.
    <wsdl:message name="GetPlaceRq_Headers">
    <wsdl:part name="ApiKey" element="tns:ApiKey"/>
    <wsdl:part name="Cursor" element="tns:Cursor"/>
    To get APiKey, we have to register first. http://www.geosvc.com/register , once its done, you will get one APiKey as below:
    The same API key has to pass to access “GetPlace” method. So we tried it in SOAP UI to understand how exactly it should work:
    As you can see below, for the method “GetPlace”, we are passing values as in:
    Header Value
    Cursor
    blank
    ApiKey
    df7f8cc90e3345b4980cf6631f33a32d
    Body
    Country
    US
    Place
    HOLLYWOOD,CA
    Also got the response.
    When we do modeling (more precisely request mapping as below) for the same method we don’t see any Header related parameters. We can see only parameters which are available in the BODY section.
    We thought if we can get APIKey parameter in the body sections only, then it would be easy to map with. Right?
    What do you suggest how we should handle this kind of scenarios?
    CC: Mustafa Saglam, Jeff Gebo, Bjoern Woppmann
    Regards,
    JK

    Unfortunately the public example is a slightly different use case.  You have to register to get a static API key that is used in all calls.  That is something you would hard code into the headers.
    I think you are asking about a dynamic key they changes on each login.  It would be great if we had a public one that upon login returned a unique session key to be used in subsequent calls so we could better test and model accordingly.
    If you were using Agentry the answer would be yes you can do this.
    --Bill

  • Can the parameter in the url be invisible?

    hi,
    I want the parameters in the url to be invisible. That is if the url is
    http://localhost:8080/index.jsp?create=12 , so in the url bar it has to be displayed like
    http://localhost:8080/index.jsp. But the parameters should not be displayed. Is it possible?
    If possible how? Can you send the code?
    Thanks in anticipation
    Deepa Datar

    Greetings,
    if the username & password is right the user has to be
    redirected to the index.jsp page, where the usernameHow are you "redirecting", with sendRedirect? This method adds an HTTP 'Location' header to the response which instructs the browser to "fetch the response" from the given URL (including parameters, if any). Unfortunately, the browser uses a GET request on the next resource so, "no", its not possible to make the (GET) parameter(s) invisible - this is a limitation of the HTTP protocol. However, it seems what you really want in this case is not to "redirect" but to "dispatch" the request. Request dispatching allows your servlet to forward the request to, and/or include responses from, another resource on the same server without the overhead of redirecting the client. Additionally, the original request and response objects are maintained which can be modified with additional ("invisible") attributes:
    // In service thread...
    request.setAttribute( "client", "12" );
    RequestDispatcher rd = request.getRequestDispatcher( "index.jsp" );
    rd.forward( request, response );I hope this helps.
    Can any one help me out? Its actually urgent.
    Thanks in anticipation
    Deepa DatarRegards,
    Tony "Vee Schade" Cook

  • ISQL*PLUS dynamic reports - how to pass connect string in the URL

    When we run dynamic reports thru ISQL*PLUS, does anyone know how
    to pass the connect string info in the URL
    The following is the code from ISQL*PLUS users guide but it
    dosen't show how to pass the connect string
    when I tried to pass hr/your_secret_password@dbserver for userid
    I got an error msg
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    <HTML>
    <HEAD>
    <TITLE>iSQL*Plus Dynamic Report</TITLE>
    </HEAD>
    <BODY>
    <H1>iSQL*Plus Report</H1>
    <H2>Query by Employee ID</H2>
    <FORM METHOD=get ACTION="http://host.domain/isqlplus">
    <INPUT TYPE="hidden" NAME="userid"
    VALUE="hr/your_secret_password">
    <INPUT TYPE="hidden" NAME="script"
    VALUE="http://host.domain/employee_id.sql">
    Enter employee identification number: <INPUT TYPE="text"
    NAME="eid" SIZE="10">
    <INPUT TYPE="submit" VALUE="Run Report">
    </FORM>
    </BODY>
    </HTML>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Thanks
    Jay

    The form you use should work when your change
    "hr/your_secret_password" to a valid username, password
    and connect identifier like "hr/hr@MYDB". Don't forget to
    configure MYDB in your tnsnames.ora file on the machine that has
    the iSQL*Plus server.
    What was the error you got?
    The full URL syntax did seem to go missing from the 9.0.1 doc.
    See below for the full syntax. This should be appearing in a
    forthcoming FAQ.
    - CJ
    What syntax can I use to run an iSQL*Plus Dynamic Report?
    You can run a dynamic report by entering the report URI in the
    location field of your browser, or by making the report server a
    link or the action for an HTML form. The iSQL*Plus 9i Release 1
    documentation has examples of these.
    The general syntax for running a dynamic report is:
    {uri}?[userid=logon&]script=location[&param...]
    where uri
    Represents the Uniform Resource Identifier (URI)
    of the iSQL*Plus Server, for example:
    http://host.domain/isqlplus
    where logon
    Represents the log in to the database to which you
    want to connect:
    {username[/password][@connect_identifier]}
    where location
    Represents the URI of the script you want to run.
    The syntax is:
    http://[host.domain/script_name]
    The host serving the script does not have to be
    the same as the machine running the iSQL*Plus server.
    where param
    Specifies the named parameters for the script you
    want to run.
    Named parameters consist of varname=value pairs.
    iSQL*Plus will define the variable varname to equal value prior
    to executing the script e.g.
    ...script=http://server/s1.sql&var1=hello&var2=world
    This is equivalent to the SQL*Plus commands:
    SQL> define var1=hello
    SQL> define var2=world
    SQL> @http://server/s1.sql
    iSQL*Plus, SQL*Plus and SQL keywords are reserved
    and must not be used as the variable names (varname). Note also,
    that since variables are delimited by the ampersand character,
    there is no requirement to enclose space delimited values with
    quotes. However, to embed the ampersand character itself in the
    value, it will be necessary to use quotes.
    For compatibility with older scripts using the &1
    variable syntax, varname may be replaced with the equivalent
    variable position as in:
    ...script=http://server/s1.sql&1=hello&2=world
    Note the & is the URL parameter separator and not
    related to the script's substitution variable syntax.
    Commands and script parameters may be given in any
    order in the dynamic report URI. However, please note that if any
    parameters begin with reserved keywords such as "script" or
    "userid" then it may be interpreted as a command rather than a
    literal parameter.

  • URGENT: How to encript a parameter in a URL?

    Hello All,
    My requirement is when I click on a link(which is not created on an OAF page), I want to call a seeded page which displays the data corresponding to an Id passed. I'm creating the link using html code. The seeded page is ArticleDetailsViewPG.
    On clicking this link, I'll call the URL :
    OA.jsp?page=/oracle/apps/okc/articles/webui/ArticleDetailsViewPG&articleVersionId=44
    In the process request of the controller of this page(ArticleDetailsViewPG), the following code is there :
    String s = pagecontext.getDecryptedParameter("articleVersionId");
    I want to know how I can encrypt the value in the URL?
    If I send the articleVersionId without encrypting it, the seeded page throws an error. But when I changed the controller code to
    String s = pagecontext.getParameter("articleVersionId");
    ,the page opens successfully.
    Could anybody help me on this issue.

    Hi,
    It seems that this thread has trailed off into oblivion like many others :(
    I am interested in a solution to a problem very much like what has been described here. I am able to extend the controller etc. and that is the method I have started exploring.
    My example is calling of a repository contract detail page directly from core forms. The parameter to the controller object is contractId (encrypted). If I follow the guidelines for extending controllers, I can only encrypt it after I call super.processRequest which will fail because it expects a contractId and finds none since I am launching the page and passing an unencrypted contractId (I have also tried using a custom parameter contractId1 since this gets encrypted and set to contractId later on). All methods fail because of the super.processRequest which expects an encrypted contractId in the parameter.
    I can do the super.processRequest after the custom code encrypts the contractId and puts the parameter in pageContext. This method works. However I'd like to know how safe this is since I'm not following the conventional guidelines for extending a CO. Can anyone tell me what the possible risks are doing it this way??
    Rgds
    Shankar

  • How can i send parameter to the servlet

    i want send one or more parameter to the servlet
    acturally i am using applet servlet cmmunication
    useing XML and I want to send one parameter to
    the server and depending on tha perform some
    action but i dont know how to send the parmer to
    servlet plz give the answere
    Rahul

    Hi Rahul,
    You will have to use java.net package for tht.. Through applet you will have to make URL connection to your servlet.whc u will make by using java.net.URl
    Just explore this pakage. You will find alots of utility thr.
    HTH?
    ~Gaurav

Maybe you are looking for

  • A bit early here but HAPPY NEW YEAR!

    Done. Finally finished an edit that's been dogging me all through the holidays. Whatever time it is where you are, before I shut down, I wanted to wish you all the best in 2007. With a little luck and a lot of work, hopefully 07 will be a more peacef

  • Unable to start atg wizard

    I have installed atg 10.1.1 and added the plugins shipped with it. But i am unable to create a new atg project. It shows the following error The selected wizard could not be started. Plug-in "atg.project" was unable to instantiate class "atg.eclipse.

  • Running bat files from JDeveloper

    hi Sometimes it could be convenient to run a bat file directly from JDeveloper. For example, the application in SQLAuthenticatorApp-v0.02.zip (see also forum thread "how to disable (or lock) users") has an Ant file BuildStuff/build-wlst.xml which has

  • BDC to Park the Invoice Document(FV60)  in FI

    hi,    can any one suggest me how to proced for BDC to Park the Invoice Document(FV60)  in FI. thank you .

  • ORA-00904: "IFREEPOOL": invalid identifier

    Hi experts, When i am trying to export table containing BLOB data then i am getting the error EXP-00008: ORACLE error 904 encountered ORA-00904: "IFREEPOOL": invalid identifier Please suggest some solution how to export Blob field of a table... Thank