Maurizio,

        Thanks a lot it worked for all the fields except few lists which has
a call to AjaxServlet in it.  Can you help me with this? 

-----Original Message-----
From: Maurizio Cucchiara [mailto:[email protected]] 
Sent: Wednesday, January 12, 2011 3:06 PM
To: Struts Users Mailing List
Subject: Re: retaining the values in html:select multiple="true" in jsp +
collection + struts

Here it the mail content:

Just to confirm,  I dont need to place the following

  <META HTTP-EQUIV="Expires" CONTENT="-1">
  <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">

In my pages? It is cool not to see these repeated lines
in all my pages

-Dan



2011/1/12  <[email protected]>:
> Lukasz,
>
>    Yes, I am using Struts 1.3.8.  I don't think Interceptor is supported
in
> it.  I tried the link you shared, but still it is not working.  Could you
> please share me the right example to fix this ?
>
> Best Regards,
> Vikram
> -----Original Message-----
> From: Maurizio Cucchiara [mailto:[email protected]]
> Sent: Wednesday, January 12, 2011 2:13 PM
> To: Struts Users Mailing List; [email protected]
> Subject: Re: retaining the values in html:select multiple="true" in jsp +
> collection + struts
>
> Lukasz,
> I'm afraid he is using struts 1.
> Anyway, I think that when user goes back using the browser's arrow,
> the page is loaded from cache. So It shouldn't be a  matter of Struts.
>
> My suggest is that you should find a way to avoid http caching [1] (I
> don't know if it works, I usually use header-based approach).
>
>
http://mail-archives.apache.org/mod_mbox/struts-user/200307.mbox/%3CLaw11-OE
> [email protected]%3e
>
>
>
> 2011/1/12 Lukasz Lenart <[email protected]>:
>> 2011/1/12 <[email protected]>
>>> Could some one help me on this please with some example?
>>
>> Please read a bit about Preparable interface
>>
>
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Pr
> eparable.html
>> http://struts.apache.org/2.2.1.1/docs/prepare-interceptor.html
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>> Kapituła Javarsovia http://javarsovia.pl
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
>
> --
> Maurizio Cucchiara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>



-- 
Maurizio Cucchiara

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to