This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Is there an equivalent to the struts <html:rewrite> tag that does not rewrite the url? I'd like to get the path of a global forward exactly as it is defined in my struts-config (without the jsessionid appended). I can remove the ";jsessionid=whatever" myself but I was wondering if there was a an existing tag that did the job. Rich
Now that I think of it, perhaps you were thinking of how HttpServletResponse.encodeURL() works by tacking on the JSESSIONID. html:rewrite is different Cheers!
Joined: May 30, 2002
Let me add the following detail. I detected my problem because my page was not locating its stylesheet. When I did a view source I saw that my LINK tag has been rendered as <LINK rel="stylesheet" type="text/css" href="c:/projects/name/styles/test.css;jsessionid=7FB297FF2333933969916E218C4C56F2"> as you can see, the jsessionid has been added as though HttpServletResponse.encodeURL was involved.
In my jsp I have: <LINK rel="stylesheet" type"text/css" href="<html:rewrite forward='testStyle'/>"> where testStyle is defined as a global forward. Is this how the tag is supposed to behave? Rich