AFAIK, the only official way the servlet spec allows to encode a session
id in a URL is this:

<a href="<%= response.encodeURL("gruopslist.m") %>">Manage> groups</a>

See if that works.

Jeff

> -----Original Message-----
> From: Steve Smith [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 31, 2003 1:44 AM
> To: [EMAIL PROTECTED]
> Subject: [Mav-user] Lost session problem ...again
> 
> Hi, I started playing with maverick a couple of months
> ago. After some test applications, I decided to use it
> in a project.
> In my pc (win2k, jboss3.2.1_tomcat4.1.24) everything
> works fine. But in a Solaris, I lose the session. I
> use the jsessionid in the URL. Without Maverick, it
> works, but even with the updated version from cvs of
> Maverick, it doesn't. Any suggestion?
> 
> Here are some scripts:
> -The failure of Controller to get an attribute from
> the session:
> 
>     String ust =
> (String)this.getCtx().getRequest().getSession().getAttribute("usrid");
>     log.info("--- GroupsList: userid="+ust);
> 
>       ..always returns userid = null
> 
> - maverick.xml:
>       <views>
>               <view id="grplist" path="GroupsList.jsp">
>               </view>
>       </views>
>       <commands>
>               <command name="groupslist">
>                       <controller class="project.mav.GroupsList"/>
>                       <view name="loginFailed" ref="loginFailed"/>
>                       <view name="success" ref="grplist">
>                       </view>
>               </command>
>       </commands>
> 
> 
> - main page:
> <% String sessionid = request.getSession().getId(); %>
> <a class="menu"
> href="groupslist.m;jsessionid=<%=sessionid%>">Manage
> groups</a>
> 
> if i use href="GroupsList.jsp;jsessionid=<%sessionid%>
> without any use of maverick, it works.
> 
> thanks
> stefka
> 
> __________________________________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> [INVALID FOOTER]



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
[INVALID FOOTER]

Reply via email to