URL Session Mapping

Hi,
i want to make a group of JSP pages in a Web App, but assuming that the browser doesn't accept cookies.
Is there anyway that i don't have to indicate every link as
response.encodeUrl("index.jsp")I've heard something about a <url-session-tracking/> tag, but i've tried to put in the web.xml file, but it doesn't work.
I just want to put Index and the App Server takes care of putting the jsessionid info in front of the url
Thank you

Hi Justin,
This should definitely work with the WebInstaller approach. In fact, we test this as part of our WebTest suite (on all certified containers, including Jetty 6). I believe you are not passing the jsessionid parameter correctly. From your post, you say your pass it like so:
http[s]://<server_ip>/<path>/index.jsp?jsessionid=<session_id>
The jessionid is not passed as a standard HTTP parameter - the correct syntax should be:
http[s]://<server_ip>/<path>/index.jsp;jsessionid=<session_id>
-David

Similar Messages

  • URL Session Tracking

    Hi,
    i want to make a group of JSP pages in a Web App, but assuming that the browser doesn't accept cookies.
    Is there anyway that i don't have to indicate every link as
    response.encodeUrl("index.jsp")I've heard something about a <url-session-tracking/> tag, but i've tried to put in the web.xml file, but it doesn't work.
    I just want to put Index and the App Server takes care of putting the jsessionid info in front of the url
    Thank you

    Cancelling this question.

  • Quick question about url/jsp mapping

    Could anyone clarify whether the following mapping in the web.xml file is possible?
    I want to access the file webapps\examples\gate\login.jsp by going to the page http://192.168.2.143:8080/work/login.jsp instead of http://192.168.2.143:8080/examples/gate/login.jsp
    Currently I can map it fine to http://192.168.2.143:8080/examples/work/login.jsp,
    which is an existing folder, but when I try and get it above the examples folder, it gives me the 404 error.
        <servlet>
            <servlet-name>Login</servlet-name>
            <jsp-file>/gate/login.jsp</jsp-file>
        </servlet>
        <servlet-mapping>
            <servlet-name>Login</servlet-name>
            <url-pattern>/../work/login.jsp</url-pattern>
        </servlet-mapping>

    Using only work/login.jsp will cause an error, and the tomcat server to crash, if I use the pattern
    <url-pattern>/work/login.jsp</url-pattern>, I just map the URL http://192.168.2.143:8080/examples/work/login.jsp instead of
    http://192.168.2.143:8080/examples/gate/login.jsp
    My entire webaps structure is rather long, and contains code other than my own, so I'd rather not post it, I just need to figure out if it is possible to map the jsp page to a path above the file. (do you think I need to do it in another web.xml?)

  • SImple URL to map to full Streaming Portal URL

    After I have created my portal in workshop, I have a .portal file. Using the portal
    administrator, I have created a portal and a desktop. To access my portal I use
    an URL of the form:
    http://host:port/PortalProjectName/PartialPortalURL/DesktopURL
    MY QUESTION IS HOW DO I MAP THIS TO A URL OF THE FORM WWW.BEA.COM?

    Thanks.
    While I m aware of your solution and it works, I have URL in HTML files that currently
    look like this:
    http://localhost:7001//MHV.portal?_nfpb=true&_pageLabel=benefitsAndServices&contentPage4=&visible4=false&contentPage3=benefits_services/related_links.htm
    Can you tell me how to transform this link such that it works with your solution.
    Thanks.
    "Curt Smith" <[email protected]> wrote:
    >
    "Dabbi" <[email protected]> wrote:
    After I have created my portal in workshop, I have a .portal file. Using
    the portal
    administrator, I have created a portal and a desktop. To access my portal
    I use
    an URL of the form:
    http://host:port/PortalProjectName/PartialPortalURL/DesktopURL
    MY QUESTION IS HOW DO I MAP THIS TO A URL OF THE FORM WWW.BEA.COM?
    Good question! Here's what was suggested and I did:
    In your portal app, create another WebApp. I called mine: RootRedirector
    This
    Web App is configured to be at "/" in the portal's application.xml
    The RootRedirector's web.xml has either a servlet or jsp config.ed to
    be at "/"
    or do nothing and create index.jsp. Index.jsp does:
    request.sendRedirect("http://host:port/beas/ugly/long/path/to/my/portal/that/needs/better/solution");
    This works. BTW, the browser only incures the redirect expense once and
    works
    with load balancers if the path you hard code here is the virtual host
    or port
    or load balanced URL.
    It's a hack but works. I feel this feature should be built into the
    Portal product
    JMO.
    Good luck, curt

  • ?x=y arguments to URLs, sessions and JSF

    An on-line magazine would like their subscribers to be able to access, and bookmark articles with URLs such as
    http://www.example.com/article.jsf?article_id=12345
    Users shall be able to e-mail these URLs to their friends. When clicking on the received URL, the friend shall be directed directly to the article.
    However, accessing any article requires registration (so "directly" here means "directly after logging in, potentially after a new user registration step").
    I'm stumped about how to pass the "?article_id=12345" around in a JSF context. I cannot find any examples. The Servlet examples don't seem to apply.
    (My application is not an on-line magazine but the structure of the problem is the same, so I used this well-known example).

    Turns out this very web application -- the sun forum system -- has exactly the problem that I described: URLs encode the identity of the forum or post using URL arguments so the URLs can be bookmarked, but at least for certain functionality, a session is required.
    How does one do that using JSF?

  • Moving session/mapping information to second script

    I'm trying to fix a script that was written for our company some time ago.  The problem I'm trying to fix is that when two callers hit the IVR at the same time, their caller ID information often times gets mixed up.  One agent will get the caller information for the other caller and another agent will get the caller information for the first one.  I have been informed the problem lies with the fact that there was no value provided for the mapping ID and that the data is not correctly being carried from the main script to the second script.  I've been able to fix the problem with the mapping ID not having a value, but I'm having still problems getting that and the session data to carry over to the second script.
    I've attached a Word document with a few screenshots to better clarify what I'm doing.  Any help would be greatly appreciated.
    Thanks!
    Chris
    EDIT: Correction.  My session information (callingNumber -although, it is incorrect- and calledNumber) is making it to the second script, but the mapping ID is not.

    Well..besides using str_mediaID to create a new Session (in Script 1)..use the Calling Number (str_callerID) to create the Session (or even pull previous sessions if the caller was hung up on for some reason?)..Obviously if you use the CLID to map to a session...there shouldn't be a mix up when the caller gets to the agent..granted when it gets to Script 2 the CLID (which you will then use to Get Session) is the same as it was when it arrived in Script 1..

  • Unable to print to any session mapped printers

    Hello,
    I've got a new, Azure VM set up and I'm trying to get it to print to any of the printers that have been mapped through my RDP session.  However, whenever I try to print a test page -- regardless of which printer I choose -- the print job always fails,
    and there's no detailed information provided by the error to identify the issue.
    I'm trying to print to a network printer that prints fine on the host I use to connect to my VM.  It does appear to map the printer fine and it even appears online as I can view the printer's properties.  I just cannot print to it or any of the
    other mapped printers.
    What are some common solutions to this problem?  If I can't print from my Azure VM it is largely useless to my business.  Please help!

    Check the Canon and OKI printer websites for Mountain Lion driver support. Hopefully you can download the drivers from there.

  • [iPhone] Multiple markers URL for Maps

    Hi! Is there any way to send from your app multiple coordinates to the maps application so it would pin these multiple place?
    With the openURL: method I've only been able to pin one place. Maybe I'm missing some URL parameter format or something like that.

    Hi, I'm trying to do exactly that and it's not working.
    What is the fully qualified URI, i.e. your {KML_FEED} in your url?
    I tried every possible combination:
    "file://localhost/private/var/mobile/Applications/.../tmp/myfile.kml"
    "file:///private/var/mobile/Applications/.../tmp/myfile.kml"
    "/private/var/mobile/Applications/.../tmp/myfile.kml"
    etc...
    And when creating the maps:// url, I also escape that file url but it still fails. How are you making it work? Thanks!

  • URL Session Problem

    In my application i am URL class to connect to a application server and i read the performance summary
    testURL = new URL(toFetchURL);
    uc = testURL.openConnection();
    in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
    String inputLine;
    StringBuffer sb = new StringBuffer("");
    while ((inputLine = in.readLine()) != null) {
    if(DEBUG) System.out.println(inputLine);
    sb.append(inputLine).append("\n");
    if(inputLine.startsWith(stopPattern))
    break;
    in.close();
    This the piece of code i am using
    I am executing this every 5 minutes this results in inflating the number of sessions in the application
    the number of sessions get increased and these session will be closed only after 30 minutes which session timeout set in application server
    How do i get rid of these sessions?
    Any suggestions/

    Thanks for the reply
    can u give more insight how to cache session id and reuse it
    Thanks in advance
    Anil

  • Answers Url For Maps with Filters

    Hi Team,
    We have integrated maps to OBIEE. The following is used as criteria to fetch the Answer data that is to be shown in the Map.
    var answerXMLResponseUrl = 'http://' + document.location.host + '/analytics/saw.dll?Go&searchid=' + encodeURIComponent(sid) + '&format=xml&nqid=' + nid;
    This url fetches the data irrespective of the filters added. So even though report has filters, we still see whole set of data.
    Is there a way to get only filtered data ?
    Thanks in advance

    Hi, I'm trying to do exactly that and it's not working.
    What is the fully qualified URI, i.e. your {KML_FEED} in your url?
    I tried every possible combination:
    "file://localhost/private/var/mobile/Applications/.../tmp/myfile.kml"
    "file:///private/var/mobile/Applications/.../tmp/myfile.kml"
    "/private/var/mobile/Applications/.../tmp/myfile.kml"
    etc...
    And when creating the maps:// url, I also escape that file url but it still fails. How are you making it work? Thanks!

  • How and where the URL is mapped to welcome or Home template?

    Hi,
    Could any body tell me how the URL (say www.abc.com) is mapped to our home template(/home.tcl).
    we use the URL www.abc.com, when we access it display the home page. This home page is generated by a TCL template- "/home". I wanted to know where this template path is mapped to www.abc.com,
    Is it done at web-server level or Appserver lavel or VCMS lavel ? What configuration file I have to look into?
    Also we have one more registered URL "www.abc.fr".. accessing this URL should redirect to "www.abc.com/home_french?locSet=FR". How and where could I do this ?
    We use :Webserver -- iPlanet ,
    Appserver -- Websphere
    Content management server -- Vignette-6

    can you give me example of it
    i am trying with
    workflowProperties.Item[
    "WorkFlowState"] =
    this.PreviousStateName;
    and then checking
    if
    (this.onTaskChangedRequestorAction_AfterProperties1.ExtendedProperties["Workflowstatus"].ToString().Contains("Escalate-the-case-further")
    && workflowProperties.Item["WorkFlowState"].ToString().Contains("SupervisorAction"))
    do you have any example?
    MCTS,ITIL

  • URL Session id

    Hi,
    Our application is currently using the encodeUrl method from servelt response to append the session id in the URL.
    Is it possible to remove all the encodeUrl methods in our code and configure the web ro application server to automatically append the session id to url.
    Thanks
    SC

    ah,
    Scott explained it here
    Why is SESSION used in the URL?

  • Picking values from an http URL and mapping them to a SOAP receiver

    Hi
    I have a case, where I need to pick the two values "customernumber" and "pod" from this URL from a HTTP sender adapter https://xxxxx.xxxx.dk/ServiceName/valider?customernumber=&pod= 
    and place them in a SOAP request in a SOAP receiver adapter.
    What is the best way of doing this?
    BR
    MIkael

    Hi,
    Please go through SAP Help Doc LInk:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    Set flag ASMA, Apply URL Parametes in ID.
    Give Parameter 1 as customer (names as in URL)
            Parameter 2 as pod
    Access the values in UDF through configuration key. For Eg: if Parameter 1 then the value can be accessed through field URLParamOne.
    I never tried this before but I beleive it should work or throw aome light to you.
    Regards,
    Vineetha.

  • Move recorded document between scripts using session map

    Hi all experts on scripting!
    We have a 2 scripts ! First script is a callback script that is recording a message from the calling customer which is saved in a"recorded document" that will be played towards an Agent when he/she is picking up the callback call.
    The (Callback) script first records a message from the customer which is saved in a document (not stored in a repository). The Callback script is then doing a "call redirect" to a new script (Agent script) where the agents are answering the callback calls!
    Now we want to move the recorded document/prompt from the "Callback script" in a variable to the "Agent script" so when an Agent is selected he will hear the Callback message from the calling customer and also "receive a voicemail with the recording + CallerID ...in case if the agent doesn't get through to the calling customer!
    Can we úse "get session" and "set session" for this and if so how?
    Rgds Mikael

    Here is a step-by-step of the process to use a Session Object to store and retrieve a Document.
    Script 1
    Variables
    Session the_session = nullDocument the_recording = DOC[]
    Script
    ...You just captured the recording in the variable the_recording.../* Grab a reference to the Session */the_session = Get Contact Info (--Triggering Contact--, Session)/* Store the Document in the Session Object *//* In the properties of this step, you will need go to the Context tab and Add a new context: Name = "the_recording"; Value = the_recording */Set Session Info (the_session)...Now you do your Call Redirect...
    Script 2
    Variables
    Session the_session = nullDocument the_recording = DOC[]
    Script
    ...You have just accepted the call.../* Grab a reference to the Session *//* In a Call Redirect scenario, this is the same Session from Script 1 */the_session = Get Contact Info (--Triggering Contact--, Session)
    /* Retrieve the Document from the Session Object */the_recording = Get Session Info (the_session, "the_recording")/* You now have the Document the_recording in this second script */...Now you are ready to play the recording to the Agent...
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Help: Using Adobe Muse & Business Catalyst with Google Domains: URL not mapping

    Hi,
    I've had some issues publishing my site to the internet using Adobe Muse (version CC 2014) and publishing to Adobe Business Catalyst.
    I am currently using Google Domains to host my domain name (www.mattandsangeeta.com) and have tried on multiple occasions to get the domain name to correctly map  using Adobe's Business Catalyst nameservers.
    I've verified with Google Domains that their process is setup correctly to map to my site, so it indicates the issue is on how I've configured my Adobe Muse/Business Catalyst side of things.
    So far, every attempt at publishing the site via Adobe Muse has worked with its extension at http://mattandsangeeta.businesscatalyst.com/index.html, and I'm able to login into my Admin page from Adobe Muse immediately following publishing. However, when I try to login directly to the Adobe Business Catalyst page, it takes me to an admin link for www.mattandsangeeta.com that is broken.
    To summarize: My published domain isn't being mapped correctly and I hit a dead end every time I try to login into the Business Catalyst website.
    Thanks for your feedback and support in advance,
    Matt

    Hi
    As I checked the site loads fine with domain Matt And Sangeeta . I tried to get to site manage area using Administration Login  and I see it works fine as well. I would suggest you to please try clearing browser cache and cookies and check if that helps.

Maybe you are looking for

  • Inbound delivery split on creation

    Dear colleagues, I'd like to create a unique inbound delivery for different scheduling agreements but the system splits it into 2 different inbound deliveries. Both purchasing documents have same header/item information. Why is system acting like thi

  • Adobe acrobat  v9.4.7 - when combining PDF's some letters are missing

    Hi All, Adobe Acrobat  v9.4.7. When viewing individual PDF's the letters are showing OK. Once we combine them (there are about 20 single pdf's that need combining) some letters are removed and it leaves behind a space. Looks like 9.4.7 is the last up

  • How can i pass string from C++ DLL to Java via JNI?

    Hi everybody. I made a DLL with Borland C++. I must pass a string from this dll to Java via JNI.Namely i define a string variable in C++ DLL and i send this variable's value to Java via JNI. I can pass integers but i couldnt Strings. . How can i do t

  • Bex variable selection screen issue

    Dear All, I have three variables in my Bex report -- Submission date, User ID and Company Code. The variable -- 'Submission date' is of type 'Replacement Path'. Other two are User entry. When I run the report, only the 'User ID' and 'Company code' va

  • Clone stamp tool - can't turn 'aligned sample' option off

    HI, I am experiencing a problem with the clone stamp tool and healing brush tool where I uncheck the 'aligned sample' optiom, 'alt' click where I want the sampling to come from, then brush over the area I want to be affected.  I have noticed that the