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:maurizio.cucchi...@gmail.com] 
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  <vikram.g.by...@accenture.com>:
> 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:maurizio.cucchi...@gmail.com]
> Sent: Wednesday, January 12, 2011 2:13 PM
> To: Struts Users Mailing List; lukasz.len...@gmail.com
> 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
> 35m2gymxwmf00059...@hotmail.com%3e
>
>
>
> 2011/1/12 Lukasz Lenart <lukasz.len...@googlemail.com>:
>> 2011/1/12 <vikram.g.by...@accenture.com>
>>> 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: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>
>
>
> --
> Maurizio Cucchiara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>



-- 
Maurizio Cucchiara

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


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

Reply via email to