Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

jsessionid & dynamic links problem?

  • 20-09-2005 10:32AM
    #1
    Registered Users, Registered Users 2 Posts: 194 ✭✭


    I'm working on an EJB application for a site. I'm using struts. I've come across a problem with my dynamic links:

    The links are created correctly but a jsessionid is appended when the page is loaded.

    "...../viewq.do;jsessionid=E5823BC3931F9F8248E5578B50C6F920?qId=51"

    However if I refresh the page, the jsessionid dissappears. I figure I need to use <html:rewrite> to rewrite the url to solve the jsid.

    Is there any alternative to rewriting the url?

    Any flag/setting in the JBoss server that I can change to accomodate jsessionid's?

    Cheers,

    -pb


Comments

  • Registered Users, Registered Users 2 Posts: 194 ✭✭pbarry


    Turns out <rewrite> causes the same issues.

    Any ideas how to handle this prob?


  • Registered Users, Registered Users 2 Posts: 194 ✭✭pbarry


    Problem solved:

    Used mod_jk2 to connect my Apache and Tomcat servers. Any :8080 request in apache now gets forwarded on to Tomcat without the need for :8080 in the url and at the same time maintains the jsessionid.

    As a result, the desired .jsp could be found.


Advertisement