----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
I'm very interested in the resolution of this also because I
have a similar problem. First, the HTML people want to do
their HREF links with their own tools. But these links will
have name/value pairs. Is there an API for reading/writing
these name/value pairs into/outof the querystring of the url? Also,
does this interfere with session management? I noticed that some
Servlet-containers use cookies by default, but if cookies are "turned off",
they steal the URL for sessions. This would interfere with putting
name/value pairs into the URL in the HREF of the document, wouldn't it?
So how are you doing this, Andy?
My other question is in-line with the first post, which is, how do you
"process" the files to rewrite the links without "chaining"? What's the
right JSP way to do this? Forwarding?
Thanks.
-----Original Message-----
From: Andy Schneider [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 23, 2000 9:59 AM
To: jserv
Subject: URL encoding with sessions.
----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Folks, I've got HTML templates that are in files. These get loaded in to
the servlet mangled with some extra text and sent to the client. Works
fine....but.... some of these files have HREF and ACTION attributes
which reference links.
I need to process these files and encode the URLs embedded in them (when
they reference servlets in my part of the servers URL space). I was
wondering, does anyone else have some nice, fast code that does this
already thus saving
me the effort of writing my own...
thanks
andy s.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]