Well, yeah it should, but I get the impression (from testing and seeing it not do it) that if the URL is coming from a database and the URL (a href) is embedded in other text, that it won't automagically work. Since the URL isn't in the JSP file at compile-time, it seems that it just gets passed over. Can anyone confirm/deny this? Maybe I've got things configured improperly? All my other links come out with jsessionid appended properly. Thanks again!


/kurt


Shapira, Yoav wrote:
Howdy,
Don't worry about it, the servlet container is required to do this for
your automagically (if the client doesn't support cookies).

Yoav Shapira
Millennium ChemInformatics



-----Original Message-----
From: Kurt Overberg [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 9:29 AM
To: Tomcat Users List
Subject: URLEncoding urls (hrefs) that are coming out of a database...

Gang,

I store text in my database that contains:

Hello there, user, please click <a href="link">this link</a>.

....I output this text to the user with the <bean:write/> tag (I'm

using


struts 1.0 & tomcat 4.1.27).  Is there some way to make sure that my
JSESSIONID will get appended to these links (for people w/out cookies),
or do I need to make that happen myself with some regex magic?  I've
poked around all the struts libs and all that but it seems that by the
time the text gets substituted on the output .jsp, its already been
compiled and everything, which is too late.  Thoughts, ideas,
workarounds?  Anyone?  Anyone?  Help!

/kurt


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.



--------------------------------------------------------------------- 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]



Reply via email to