struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Cooper" <...@maxcooper.com>
Subject Re: page do not refresh
Date Tue, 12 Feb 2002 10:19:24 GMT
Frédéric,

If the query string is different between the two requests, it is not likely
to be a page caching problem. The query string is part of the URL, so things
that cache pages by URL will see the two requests as two different URLs.

Try using the request scope, rather than the session scope, for passing the
object from your Action to the JSP page. This is preferable unless you need
to keep the value in the session for some other reason. However, if it does
need to be in the session, it doesn't seem like the action is replacing the
value in the session and needs further review (perhaps you could post the
code that puts/gets the value in the session).

-Max

----- Original Message -----
From: "Frédéric Houbie - ABSIS-GROUP" <jdev@absis-group.be>
To: "Struts-User" <struts-user@jakarta.apache.org>
Sent: Tuesday, February 12, 2002 1:34 AM
Subject: page do not refresh


> Hi,
>
> I have a problem in my struts application, I have a page that call an
action
> servlet which store a value received in url  in session, than forward to a
> jsp page. If I this action servlet is called with another value in url,
the
> jsp page do not change, it seems to come from the proxy. I put expire meta
> tag in jsp, but no changes, the url in the adress bar is always the .do
> action. Does it means that I must make the action servlet expire ?
>
> I don't understand the process,
>
> thanks for help
>
> Frédéric houbie
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message