struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Husted <hus...@apache.org>
Subject Re: Want to use <html:link forward> but do not want jsession included in new link
Date Mon, 03 Dec 2001 00:30:52 GMT
URL rewriting is built-into the tags, and would have to be turned off in
the container. Though, I'm not sure that all containers support
disabling URL rewriting as an option. 

antony@claire.co.jp wrote:
> 
> Hi
> 
> I have a log off action on my page
> 
> <html:link forward="logoff">
> 
> this gets rewritten by struts as
> 
> http://localhost:8180/testapp/logoff.do;jsession=97BEFADEA3987234AC3F55
> 
> so that on my logon screen, I have the link
> 
> http://localhost:8180/testapp/logoff.do;jsession=97BEFADEA3987234AC3F55
> 
> which looks ugly,  I want it to have the link
> 
> http://localhost:8180/testapp/index.jsp
> 
> without any jsession ID and the page "index.jsp" shown instead of
> "logoff.do".
> 
> How can I do this?
> 
> Cheers
> 
> Tony
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/struts/

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message