Julian, I just skimmed through cvs and have this idea for you:
Edit a copy of the Html Taglib's helper class, org.apache.struts.taglibs.TagUtils, so any methods that would pull in the session variable to append to the new URL don't do that. When it's built, put it under WEB-INF/classes/org/apache/struts/taglibs so Struts calls YOUR class, not the original. I recommend reviewing the public Map computeParameters method right after the comment: // Add our transaction control token (if requested) I'm sure older versions have some similar helper class you can override with your own, for now. FYI, to view this file on the web from the CVS/SVN repository, follow (this will be wrapped, so you'll have to cut and paste it): http://svn.apache.org/viewcvs.cgi/struts/taglib/trunk/src/java/org/apache/st ruts/taglib/TagUtils.java?rev=202155&view=markup Regards, David -----Original Message----- From: Julian Kerr [mailto:[EMAIL PROTECTED] Sent: Monday, July 04, 2005 1:25 AM To: Struts Users Mailing List Subject: Re: How to disable URL rewriting for session id? Ahh, the problem spreadeth... also need to use plain old forms, which means no struts help there either. Guess this boils down to either finding a way to tell struts to stop rewriting url's, or another moving to another context... Julian Wendy Smoak wrote: >From: "Julian Kerr" <[EMAIL PROTECTED]> > > >>A plain old html link would do the trick, but I'm keen to know if there >>is a way to control the behaviour struts tags. >> >> >> > >Just based on the docs, I'd say no... but I haven't looked any further than >that. > >http://struts.apache.org/userGuide/struts-html.html#link > says >" URL rewriting will be applied automatically, to maintain session state in >the absence of cookies. " > >Can you do URL-rewriting-in-reverse on the front end, and strip off the >;jsessionid on the way in, before it causes a problem? > >Otherwise a plain old HTML link sounds like the way to go. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]