On Wed, 28 Aug 2002, wu qihua wrote:

> Date: Wed, 28 Aug 2002 01:22:44 +0000
> From: wu qihua <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: struts-blank from  nightly build:forward="welcome" ,
>     but show welcome.do as URL
>
>    it same very strange,in the web.xml,it is configured that any request
> such as name.do will be forward to servlet name(and the url will also be
> like **/name),but now in the struts-blank example,request is welcome(forward
> is alse a request?),but the URL shown in the browse is **/welcom.do and also
> plus ";jsessionid=6412CB72925D25CF20CCED7063B3D22F".
>    Does the struts use url rewritting for every request?

Struts calls the URL rewriting functions for you on every request.
However, after the *first* request for a session, the servlet container
will recognize that you have cookies on and stop adding the session id on
to the URLs that it generates.

Craig


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

Reply via email to