Re: escape characters in querystring

2001-01-18 Thread Peter Alfors
Thanks for the quick response Rodney! Im not sure how I overlooked those classes. I searched JavaSoft for 'escape', and 'query string' and did not find any mention of them. It appears that the query string is automatically encoded (at least for spaces). However, I imagin

Re: Dynamic forwardings...

2001-08-26 Thread Ted Husted
For a forward, you just put in an encoded query string for the path: For an action mapping, you can use the parameter property and have the action check for the code there String code = mapping.getParameter(); David Corbin wrote: > > I've got

RE: can %25 be in query string parameter name?

2001-02-02 Thread GU,JAMES (HP-Corvallis,ex1)
Email. I didn't put my question there. Thanks! I have a query string which has a parameter named as: file%name. So after URL encoding, it is encoded as: file%25name. And I found it will break strus action class. It gives me the following error: javax.servlet.jsp.JspExcepti

can %25 be in query string parameter name?

2001-02-02 Thread xinxin Liu
Hi, I am really sorry for my previous Email. I didn't put my question there. Thanks! I have a query string which has a parameter named as: file%name. So after URL encoding, it is encoded as: file%25name. And I found it will break strus action class. It gives me the following

Re: problem with using redirect tag

2001-03-12 Thread kiatkin
>>Query string is valueA=aaa&valueB= Thx for reply.. but this causing me can't retrieve the second parameter (valueB) servlet.log("value A "+ request.getParameter("valueA")); servlet.log("value B " +request.getParameter("valueB"

Re: Dynamic forwardings...

2001-08-26 Thread David Corbin
gt; To: <[EMAIL PROTECTED]> Sent: Sunday, August 26, 2001 2:56 PM Subject: Re: Dynamic forwardings... > For a forward, you just put in an encoded query string for the path: > > path="/do/item/Add?code=whatever"/> > > For an action mapping, y

Re: [OT] Is "jsessionid" specific to Tomcat or generic to all web containers?

2003-07-28 Thread David Graham
a more interesting question is > > whether the url rewriting format is standardized? I haven't been able > to > > confirm that http://blah.com;jsessionid=42789?qry=test&qry2=test2 is > > standard. > > > > The URL rewriting format is also standardized; in secti

Re: Dynamic forwardings...

2001-08-26 Thread Ted Husted
: <[EMAIL PROTECTED]> > Sent: Sunday, August 26, 2001 2:56 PM > Subject: Re: Dynamic forwardings... > > > For a forward, you just put in an encoded query string for the path: > > > > > path="/do/item/Add?code=whatever"/>

Re: Forward after

2002-04-23 Thread Dave Dribin
This seems to work to build up a "done" parameter: StringBuffer done = request.getRequestURL(); String query = request.getQueryString(); if (query != null) { done.append("?").append(query); } response.sendRedirect(re

Re: Dynamic forwardings...

2001-08-26 Thread Ted Husted
; > David Corbin wrote: > > > > > > I'm definately talking about "forward", but my "whatever" value is > dynamic. > > > It's based on input (a parameter) into the action. I don't yet > understand > > > the best solution for tha

Re: URL rewriting and cookies

2001-12-04 Thread Ted Husted
> result of URL rewriting. The syntax is "strange", > > as you put it, because the session id is encoded > > as a path parameter, and not part of the query > > string. This is all explained in the Servlet spec. > > Is it possible to fix this behavior somehow?

Re: Dynamic forwardings...

2001-08-26 Thread David Corbin
t; value is dynamic. > > It's based on input (a parameter) into the action. I don't yet understand > > the best solution for that. > > > > - Original Message - > > From: "Ted Husted" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED

Re: Dynamic forwardings...

2001-08-27 Thread Ted Husted
look something up. In that case, the link tag can take one > or > > > > more dynamic parameters, based on the collection of beans used to > write > > > > it. > > > > > > > > In that case, the action usually gets the parameters

Re: Dynamic forwardings...

2001-08-27 Thread David Corbin
ts the parameters from the request, > > > and uses them to look up whatever is required. > > > > > > David Corbin wrote: > > > > > > > > I'm definately talking about "forward", but my "whatever" value is > > dynamic.

Re: Dynamic forwardings...

2001-08-27 Thread Jan Sorensen
ce, to look something up. In that case, > the link tag can take one > or > > > > more dynamic parameters, based on the > collection of beans used to > write > > > > it. > > > > > > > > In that case, the action usually gets the > parameters from th

Re: Dynamic forwardings...

2001-08-26 Thread Martin Cooper
ot; value is dynamic. > > It's based on input (a parameter) into the action. I don't yet understand > > the best solution for that. > > > > - Original Message - > > From: "Ted Husted" <[EMAIL PROTECTED]> > > To:

Re: how to disable (or work around) jsessionid in html:img sources

2003-10-23 Thread Kris Schneider
The HTTP/1.0 spec defines a URI as: ... rel_path = [ path ] [ ";" params ] [ "?" query ] ... The Servlet spec states: The session id must be encoded as a path parameter in the URL string. The name of the parameter must be jsessionid. Quoting "Ruth, Brice" <[

Re: how to disable (or work around) jsessionid in html:img sources

2003-10-23 Thread Ruth, Brice
uot;?" query ] ... The Servlet spec states: The session id must be encoded as a path parameter in the URL string. The name of the parameter must be jsessionid. Quoting "Ruth, Brice" <[EMAIL PROTECTED]>: Saul Q Yuan wrote: -Original Message- From: Ruth, Brice [m

RE: uploading file requires immediate serialization location?

2001-06-11 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
he > > > specification for a MIME part, and they are separated by a boundary, >which > > > is a line containing a pattern defined in a header at the top of the > > > request. > > > > > > Each MIME part consists of a sequence of MIME headers, follow

Re: Dynamic forwardings...

2001-08-27 Thread Jan Sorensen
gt; > David Corbin wrote: > > > > > > I'm definately talking about "forward", but my > "whatever" value is > dynamic. > > > It's based on input (a parameter) into the > action. I don't yet

RE: how to disable (or work around) jsessionid in html:img sources

2003-10-23 Thread James Mitchell
List > Subject: Re: how to disable (or work around) jsessionid in > html:img sources > > > The HTTP/1.0 spec defines a URI as: > > ... > rel_path = [ path ] [ ";" params ] [ "?" query ] > ... > > The Servlet spec states: > > The

RE: session ids cont...

2001-02-01 Thread Kramer, Gary
for all of your actions?  I found that if you don't you will have > a problem.  It's either all or nothing.  If it's nothing your on your own.  At > least that has been my experience. > Right now I am NOT encoding my links.  However, if my assumptions are correct... Encodin

Re: uploading file requires immediate serialization location?

2001-06-10 Thread Jonathan Asbell
ders, followed by a blank > line, followed by the data for that MIME part, known as the body. A MIME > header takes the form "header-name: value" - for example, "Content-type: > text/plain". The body is just a bunch of data that conforms to the > statements made ab

Re: session ids cont...

2001-02-01 Thread Peter Alfors
for testing. > > > > > I'm using Tomcat4.0-m5 for my testing. I don't know what you are > using. > > > > I am using Tomcat 3.2 > > > > > Are you using the for all of your links? And are you > using > > for all of your actions? I

Re: uploading file requires immediate serialization location?

2001-06-10 Thread Martin Cooper
t the top of the > > request. > > > > Each MIME part consists of a sequence of MIME headers, followed by a blank > > line, followed by the data for that MIME part, known as the body. A MIME > > header takes the form "header-name: value" - for exampl

Re: uploading file requires immediate serialization location?

2001-06-11 Thread dhay
n a header at the top of the > > request. > > > > Each MIME part consists of a sequence of MIME headers, followed by a blank > > line, followed by the data for that MIME part, known as the body. A MIME > > header takes the form "header-name: value" - for examp

Re: uploading file requires immediate serialization location?

2001-06-11 Thread Martin Cooper
> MIME part. The fields in a multipart/form-data request each conform to >the > > > specification for a MIME part, and they are separated by a boundary, >which > > > is a line containing a pattern defined in a header at the top of the > > > request. > >

Re: uploading file requires immediate serialization location?

2001-06-10 Thread Jonathan Asbell
rsing of a > > > MIME part. The fields in a multipart/form-data request each conform to > the > > > specification for a MIME part, and they are separated by a boundary, > which > > > is a line containing a pattern defined in a header at the top of the > > > reques

Re: uploading file requires immediate serialization location?

2001-06-11 Thread Martin Cooper
ar requests. > > > > > > > > What you are seeing in the packages you've looked at is the parsing of > a > > > > MIME part. The fields in a multipart/form-data request each conform to > > the > > > > specification for

Re: uploading file requires immediate serialization location?

2001-06-10 Thread Martin Cooper
st a bunch of data that conforms to the statements made about it in the headers. Every field in a multipart request is encoded this way. So where a regular query using GET might contain a query string like this: ...&author=Martin&... a multipart request would represent the same quer