Jsessionid attribute in url

Hi All
I have created two JSP pages (First.jsp and Second.jsp) with two command buttons in each one of them(button_first and button_second).
Action property for button_first is set to 'success' which has to_view_id ='Second.jsp'
and action property of button_second is set to 'fail' which has to_view_id = 'First.jsp'
Now when i am running the First.jsp and click on button_first then Second.jsp is shown but in url i get
../First.jsp;jsessionid=0a577db5231d4e1d22a91b2e4c8a8a0ed8935de28170
So instead of Second.jsp in url I get this jsessionid attribute.
Can anyone tell how to get the correct url?

Sudhir,
This is the way that JSF works - it uses a postback pattern, where your clicks on First.jsp are actually "posted back" to that JSP, which then does the processing. The observed effect (as you have noticed) is that the URL seems to be "one step behind" the UI, but that is the way it works in JSF.
Regards,
John

Similar Messages

  • Hide jsessionid in the URL

    Hi,
    I am appending jsessionid in to the URL in the form tag.
    Is there any way to Hide jsessionid in the URL.
    Using Apache2 and Tomcat4.1.24
    Your help is greatly appreciated.
    Thanks,
    Rama

    And why is that a problem? If they haven't logged out, then it shouldn't matter so much, except that it's a security issue potentially on public computers, but that is always the case, so users must be educated to log out. If they have logged out, then the session ID will be (should be) invalid after that point and thus it's a moot point. Personally, I don't see it as any problem whatsoever that it can be seen.
    And if you are worried about hackers intercepting data on the line, then that doesn't matter at all, you'd need to use SSL to solve that problem.

  • How to avoid JsessionID passing in URL by using weblogic

    Hi,
              In my application,while login into it,the URL appended with JSessionID but it is security flaw which is very helpful for hacker to leglimate the application.So please how to avoid the Jsessionid is visible in URL to user and it should not appended in the url.
              ie:
              www.joy.com/loginAction.do;jsessionid=hQsmHn1BTY1mp12xLyGl0JTncVrpJGRswpMRY82wLbpqB8B5wJJ1!-829701127
              the above seen url appended in my URL.
              which Method is appropriate to control the appending and is there any tag attribute particularly in weblogic.xml which will take care to avoid to pass thru out application.
              Please come up with solution ASAP i need to implement
              Regards
              Karthik

    Hi Vikram,
              As you said that,by disabling the particular tag attribute ,it will not present on url and how to rewrite the Present URL which back to original URL
              Regards,
              Karthik

  • UIX form destination attribute dropping URL parameters

    I have a uix form with destination being a url with parameters. When this uix form tag is resolved and the form is rendered on the client browser, the parameters are not included in the action attribute of the form tag.
    For example, if the uix form tag is
    <uix:form destination="http://<host>:<port>/ctx/abc.jsp?remote_user=tuser" name="frm_sample" onSubmit="frm_submit()" >
    it gets resolved to
    <form name="frm_sample" id="frm_sample" method="GET" action="http://<host>:<port>/ctx/abc.jsp">
    In the resolved form tag, the url parameter remote_user is missing. Can anybody tell me why is this happening?
    I have tried encoding the url with response.encodeURL(), but to no avail.
    Any pointers in resolving this will be highly helpful.
    Shashi

    I have a uix form with destination being a url with parameters. When this uix form tag is resolved and the form is rendered on the client browser, the parameters are not included in the action attribute of the form tag.
    For example, if the uix form tag is
    <uix:form destination="http://<host>:<port>/ctx/abc.jsp?remote_user=tuser" name="frm_sample" onSubmit="frm_submit()" >
    it gets resolved to
    <form name="frm_sample" id="frm_sample" method="GET" action="http://<host>:<port>/ctx/abc.jsp">
    In the resolved form tag, the url parameter remote_user is missing. Can anybody tell me why is this happening?
    I have tried encoding the url with response.encodeURL(), but to no avail.
    Any pointers in resolving this will be highly helpful.
    Shashi

  • Adding hostid and port info to the jsessionid in a url-rewrite

    how do I do this? I did it once before and the servers are still churning out the host!port (see bold):
    http://ucweb.uc.sprintpcs.com/waimea/servlet/html/mail/ViewFolderServlet;jsessionid=DJoOjjpijtoKHPFfELfXMJnDtQI3m4NCt45pQhrcFI8gzWwncLKc!-656220268!<b>169371976!8001</b>!-1?menubar=email
    I can't for the life of me remember how or find any documentation. This needs to be in the url so that the f5 load balancers can do their job.

    Hi Bola,
    Try using below formula and check if it helps:
    =Connection("query_name")
    OR
    =Connection(DataProvider(<obj>))
    <obj> could be any object from the query. DataProvider(<obj>) will provide the query name to Connection function.
    This will give detail on middleware and Database used.
    Hope it will help.
    Regards,
    Yuvraj

  • How to add transient attribute to URL Data Control

    Hi,
    Is it possible to add a kind of "transient" attribute to an URL Data Control on model layer?
    regards
    Peter

    Hi,
    no. it doesn't. Even with ADF BC, the transient attributes need to be held by the business service and not the data control
    Frank

  • Removing jsessionid from the url

    Hi All,
             While i create a Webdynpro iview from SAP Webdynpro iview template, the generated url gets appended with the parameter jsessionid as shown.
    http://server:port/webdynpro/dispatcher/local/session/New_app;<b>jsessionid</b>=(J2EE14778100)ID1600385450DB11689045888563713719End
    I don't want this parameter to be appended and exposed in the url of the ivew. Is there any way i can hide/remove this parameter from the generated url?
    Regards,
    Vijay.K

    Hi Maksim,
    Firstly, There is no such parameter for Webdynpro iview in EP 6.
    Secondly, this parameter is available for Webdynpro template in EP 7, but even on setting it with jsessionid, the problem remains. jsessionid is still appended in the URL.
    Please help me with any other possible ways.
    Regards,
    Vijay.K

  • Removing jsessionid parameter from url of Webdynpro iview

    Hi All,
             While i create a Webdynpro iview from SAP Webdynpro iview template, the generated url gets appended with the parameter jsessionid as shown.
    http://server:port/webdynpro/dispatcher/local/session/New_app;<b>jsessionid</b>=(J2EE14778100)ID1600385450DB11689045888563713719End
    I don't want this parameter to be appended and exposed in the url of the ivew. Is there any way i can hide/remove this parameter from the generated url?
    Regards,
    Vijay.K

    Hi All,
             I found that, the Webdynpro template which is an App-Integrator appends the parameter jsessionid to the generated URL. So, i tried changing some properties of the system regarding session, but i couldn't remove this parameter from URL.
    I also found that, custom Application integrators can also be developed. So, is it possible to get rid of the jsessionid parameter by developing a custom App-Integrator for Webdynpro application?
    Please help me in this regard.
    Regards,
    Vijay.K

  • Missing Message Attributes: URL/HTTP Destination

    Hello,
    following scenario:
    There is a sync. interface between SAP PI ante the Paypal API within the HTTP adapter calling a dynamic URL.
    The dynamic URL is created as mentioned in this blog: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7264. [original link is broken]
    Also the HTTP adapter is configured as described (Adapter Specific Message Attributes and URL are flagged).
    Following error occours when testing the call:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_MISSING_URL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Dynamic Header - Missing Message Attributes: URL/HTTP Destination</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Is there sth. special I have to consider in the HTTP Adapter?
    Thanks in advance,
    André

    Hi Michal,
    I´m passing the URL to the attribut "TargetURL" by using a UDF in my mapping.
    In the adapter I have flagged "URL".
    So the value of TargetURL set in mapping shoul be used as destination in the adapter.
    Please have a look onto my UDF used in MM:
    http://img408.imageshack.us/i/udf.jpg/
    Adapter settings:
    http://img691.imageshack.us/i/adaptersetting1.jpg/
    http://img339.imageshack.us/i/adaptersetting2.jpg/
    How can I check that the TargetURL is successfully set as a dynamic parameter?
    Thanks,
    André

  • Open url from xchat in opera

    I'd like to open urls from xchat in opera.
    Under settings>advanced>url handler:
    !opera -remote 'openURL(%s)'
    xchat has tcl as an optional dep, so I installed that.
    This is in xfce4 and I have set opera as the preferred browser.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • Open URL from Java in a new browser tab

    Hi OTN,
    Surprisingly can't find the implimintation.
    In an ADF managed bean I retrieve String url. I need to open a new browser tab with this url.
    Found this thread Open a url in a new window in the backing bean which shows using javascript "service.addScript(facesContext, "window.open(http://www.google.coml)");".
    But in my case in doesn't work. The code is executed, but nothing happens. Maybe because the bean is called from a taskflow inline popup.
    ADF 11.1.1.4
    Thanks.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • How to pass session variables via the URL in CF10?

    Hi
    I have a client with some old Flash functionality (AS2). The SWF allows the user to upload an image. However a new session is being started when the upload script is called. I have added the CFID, CFTOKEN and JSESSIONID to the URL as I did in the past to maintain the session but I believe you cannot do this anymore with CF10, if this is correct can anyone point me in the right direction of how I would accomplish maintaining the session for the upload?
    This has a note about CF 10 - http://forums.adobe.com/thread/1178420
    Kind regards
    Shaun

    Hi Shaun
    Are you facing the same issue with all the browsers?
    Thanks
    VJ

  • Url in new window / frame

    Hello Friends,
    I would like to know if its possible to open an url ( LINK TO URL UL ) to a new frame ( so that the url is not visible in browser ).
    Regards,

    Hello Rahul,
    I am trying to dynamically set the iframe property "source"... so I created a context attribute ( type string ) and set this context attribute with url e.g www.google.de and set this context attribude to the iframe source... but its not showing me the google page ?
    wdContext.currentContextElement().setIfram_src("http://www.google.de");
    anyidea how I can dynamically set the soucre or what I am doing wrong?
    Regards,
    Edited by: Shah H on Jan 23, 2008 10:55 AM
    PS: Okay, its showing in the iframe..... the google page
    Edited by: Shah H on Jan 23, 2008 10:58 AM

  • Pass URL parameter to BEx application

    Hi all.
    We have a BEx query, that is called by Iview. In the URL, we attach the user that logged in the portal. Then when the BEx application is called we need pass this value to the query.
    We tried to solve this principally concatenating this chain to URL query in the Iview:
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=j_user
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE= ZUSPORT
    Where j_user is the user sended back by the portal, and ZUSPORT is the name of the query selection field.
    But now the problem is that we need to use an editable field to retrieve the user value... then we would make the field invisible or disabled but we don't know how to make this.
    If make the caracteristic invisible in query designer it doesn't turn invisible because is a editable field.
    If we use a exit variable the value isn't retrieved.
    Any idea?? Any help will be apreciated. Thanks in advance.

    Andrea,
    If the parameter is always the same value, you can use the URL iview or the Application integrator iview and simply add the parameter to the URL in the iview properties.
    If the parameter is dynamic, you can use the Application integrator. With this iview you can send user profile attributes as url parameters for instance.
    Hope it helps.
    Johan

  • Jsessionid getting appended to the dsp:a tag

    Hi,
    We have a requirement to strip off jsession id getting generated from every url.
    However, in a non-secure page (http), the link (which uses <dsp:a> tag) automatically appends the jsessionid to the url. We are not able to manually strip it out.
    Is there a way we can tell ATG10 to strip out jsession id upon link creation?
    Any idea is highly appreciated.

    I have been in contact w/ a remote user who has this same issue.
    He has a rather large volume of local mail in a POP account. He recently had to migrate his data from one Macbook Pro running Snow Leopard to another so that we could send his older machine in to get repaired.
    Now that he's working on the loaner with all his data migrated over, he gets this error when he tries to send mail. He cannot send any mail from within Mail.app. I'm currently having him back up his ~/Library/Mail/ and ~/Library/Mail Downloads/ and ~/Library/Preferences/com.apple.mail.plist files to an external drive before we really start messing about with anything too scary. I had him try to remove the envelope index file to "import" all the mail, but mail crashed twice at about 30% complete, so he put the old envelope index file back.
    Something interesting: he has two accounts, The one which does not work is the work account which is set up for POP3 and one is a personal account which is set up using IMAP.
    He just sent me a test message from the personal account and mail had no problem writing to that account's (do they have separate outboxes?) outbox.
    He does have like 400,000 messages total in a variety of folders in mail, but... it was working before he used the Migration Assistant to move his data to this temporary laptop.

Maybe you are looking for