Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Maurizio Cucchiara
> [email protected]> > Sent: Monday, June 4, 2012 2:42 PM > Subject: Re: Struts2 (caching, valuestack, etc...) problem > > Are you using spring plugin? > Looks like you are using a previous initialized instance of your action > class. > If yes, ensure that the scop

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Dave Newton
ers Mailing List ; Omar Ngarigari < > [email protected]> > Sent: Monday, June 4, 2012 2:42 PM > Subject: Re: Struts2 (caching, valuestack, etc...) problem > > Are you using spring plugin? > Looks like you are using a previous initialized instance of your action > class. &g

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Omar Ngarigari
s expected. Thanks Maurizio and Chris for your help.  Thanks,  From: Maurizio Cucchiara To: Struts Users Mailing List ; Omar Ngarigari Sent: Monday, June 4, 2012 2:42 PM Subject: Re: Struts2 (caching, valuestack, etc...) problem Are you using spring plugin?

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Omar Ngarigari
Subject: Re: Struts2 (caching, valuestack, etc...) problem Are you using spring plugin? Looks like you are using a previous initialized instance of your action class. If yes, ensure that the scope is prototype and not the default one (which is singletone) Sent from my mobile device, so please

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Omar Ngarigari
; Omar Ngarigari Sent: Monday, June 4, 2012 2:42 PM Subject: Re: Struts2 (caching, valuestack, etc...) problem Are you using spring plugin? Looks like you are using a previous initialized instance of your action class. If yes, ensure that the scope is prototype and not the default one (which is

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Maurizio Cucchiara
Are you using spring plugin? Looks like you are using a previous initialized instance of your action class. If yes, ensure that the scope is prototype and not the default one (which is singletone) Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 04/giu/

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Chris Pratt
but I got no record found. Can you show me how to clean a cache? > > > > From: Chris Pratt > To: Struts Users Mailing List ; Omar Ngarigari < > [email protected]> > Sent: Monday, June 4, 2012 2:17 PM > Subject: Re: Struts2

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Omar Ngarigari
e url, but I got no record found. Can you show me how to clean a cache? From: Chris Pratt To: Struts Users Mailing List ; Omar Ngarigari Sent: Monday, June 4, 2012 2:17 PM Subject: Re: Struts2 (caching, valuestack, etc...) problem Are you watching your s

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Chris Pratt
Are you watching your server console? Are you sure it's actually making the request and not displaying the cached page. If it is just showing you the cached page, try appending some nonsense parameter to the end of the URL (i.e. ?dummy=aalskdjfkal). Otherwise, you'll have to look into your actio

Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Omar Ngarigari
Hi All, I have developed an application using struts2.3.1.2, but I am experiencing a weird situation that I have bumping my head for a week now, but It does not go away.  Scenario 1 - I have a query page (jsp) where I have to query database based on the quarter date an input. If I entered a qu

Re: jsp caching problem

2011-06-19 Thread Sampath Ekanayake
Hi Arpan, Setting autocomplete to off in the text field might help you. e.g. Regards, Sampath Ekanayake On Mon, Jun 13, 2011 at 9:10 PM, Arpan wrote: > Hi All, > > Do any one know how to solve caching problem in jsp. > My requirement is that, it should not display previous

RE: jsp caching problem

2011-06-13 Thread Jason Pyeron
> -Original Message- > From: Dave Newton [mailto:[email protected]] > Sent: Monday, June 13, 2011 13:06 > To: Struts Users Mailing List > Subject: Re: jsp caching problem > > I thought we allowed dynamic attributes now? Or was that just > via patching? >

RE: jsp caching problem

2011-06-13 Thread Biesbrock, Kevin
your application again. Beez r 5347 > -Original Message- > From: Arpan [mailto:[email protected]] > Sent: Monday, June 13, 2011 1:12 PM > To: Struts Users Mailing List > Subject: Re: jsp caching problem > > Even if I write in my jsp like this : > >

Re: jsp caching problem

2011-06-13 Thread Dave Newton
That's an IDE issue. On Mon, Jun 13, 2011 at 1:11 PM, Arpan wrote: > Even if I write in my jsp like this : > > > > It tells that "autocomplete" is Undefiend attribute. > > Thanks > > On Mon, Jun 13, 2011 at 10:33 PM, Eric Lentz wrote: > >> > Are you currently using struts2? If so then open ur j

Re: jsp caching problem

2011-06-13 Thread Arpan
Even if I write in my jsp like this : It tells that "autocomplete" is Undefiend attribute. Thanks On Mon, Jun 13, 2011 at 10:33 PM, Eric Lentz wrote: > > Are you currently using struts2? If so then open ur jsp and type > attribute "autocomplete" in textfield or form element and see if it > s

Re: jsp caching problem

2011-06-13 Thread Dave Newton
I thought we allowed dynamic attributes now? Or was that just via patching? I don't remember things :( Dave On Mon, Jun 13, 2011 at 1:03 PM, Eric Lentz wrote: >> Are you currently using struts2? If so then open ur jsp and type > attribute "autocomplete" in textfield or form element and see if i

Re: jsp caching problem

2011-06-13 Thread Eric Lentz
> Are you currently using struts2? If so then open ur jsp and type attribute "autocomplete" in textfield or form element and see if it supports or not. Yes, I am using Struts 2. I did as you instructed. I do not see anything related to autocomplete. I'm not sure what you were aiming for in aski

Re: jsp caching problem

2011-06-13 Thread Arpan
Hi Eric, Are you currently using struts2? If so then open ur jsp and type attribute "autocomplete" in textfield or form element and see if it supports or not. It's obviously a browser issue, but my question was how do u solve in struts2 ? Please advice me the releavent solution, rather than only

Re: jsp caching problem

2011-06-13 Thread Eric Lentz
> More over in my jsp i m not seeing "autocomplete" off attribute even when i use normal html "" tag. Everyone is telling you that it is a browser render / HTML tag issue. Logically, it would seem that way as well. The browser is storing the text that people type in the field, no? Do you believ

Re: jsp caching problem

2011-06-13 Thread Arpan
It is a struts2 problem also. I did googled. All these links shows normal html tags, but I m using struts2 tags. More over in my jsp i m not seeing "autocomplete" off attribute even when i use normal html "" tag. Thanks On Mon, Jun 13, 2011 at 9:19 PM, Eric Lentz wrote: > That's a JSP question

Re: jsp caching problem

2011-06-13 Thread Arpan
ron - [email protected] wrote: > > >> -Original Message- > >> From: Arpan > >> Sent: Monday, June 13, 2011 11:41 > >> To: Struts Users Mailing List > >> Subject: jsp caching problem > >> > >> Hi All, > >> > >>

Re: jsp caching problem

2011-06-13 Thread Arpan
mber passwords. Are you using 'password' fields for > your passwords? This should be all you have to do here. > > -Brandon Atkinson > > >>> Arpan 6/13/2011 11:40 AM >>> > Hi All, > > Do any one know how to solve caching problem in jsp.

Re: jsp caching problem

2011-06-13 Thread struts . rgm
n 13, 2011, at 10:46 AM, Jason Pyeron - [email protected] wrote: >> -Original Message- >> From: Arpan >> Sent: Monday, June 13, 2011 11:41 >> To: Struts Users Mailing List >> Subject: jsp caching problem >> >> Hi All, >> >> Do any o

Re: jsp caching problem

2011-06-13 Thread Brandon Atkinson
ember passwords. Are you using 'password' fields for your passwords? This should be all you have to do here. -Brandon Atkinson >>> Arpan 6/13/2011 11:40 AM >>> Hi All, Do any one know how to solve caching problem in jsp. My requirement is that, it should not display

Re: jsp caching problem

2011-06-13 Thread Eric Lentz
That's a JSP question, not Struts. Did you try Google? http://lmgtfy.com/?q=turn+off+form+autocomplete

RE: jsp caching problem

2011-06-13 Thread Jason Pyeron
> -Original Message- > From: Arpan > Sent: Monday, June 13, 2011 11:41 > To: Struts Users Mailing List > Subject: jsp caching problem > > Hi All, > > Do any one know how to solve caching problem in jsp. > My requirement is that, it should not display previ

jsp caching problem

2011-06-13 Thread Arpan
Hi All, Do any one know how to solve caching problem in jsp. My requirement is that, it should not display previously submitted credit card number and passwords. Whenever I put the first number, my page shows all other numbers previously entered as a suggession. I have used the bellow code to

Re: Freemarker Template Caching

2011-06-06 Thread Maurizio Cucchiara
; We have enabled freemarker template caching by using the following > settting in our struts.properties file: > > struts.freemarker.templatesCache=true > > My question is: How do we verify the cache is working? > > Thanks. > > Mitch

RE: Freemarker Template Caching

2011-06-06 Thread Martin Gainty
es email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > To: [email protected] > CC: [email protected] > Subject: Freemarker Template Caching > From: [email protected] > Date: Mon, 6 Jun 2011 14:16:4

Freemarker Template Caching

2011-06-06 Thread mmckenzie
Hello, We have enabled freemarker template caching by using the following settting in our struts.properties file: struts.freemarker.templatesCache=true My question is: How do we verify the cache is working? Thanks. Mitch

Re: Struts 1, Glassfish browser caching

2011-03-03 Thread Dave Newton
On Thu, Mar 3, 2011 at 5:39 PM, Nancy and Jeff Hibbs wrote: > Using Struts 1, with glassfish.  I want to force (or, I guess, suggest) to > the browser to cache all js and image files for at least 1 hour.  we're using > jqry and some other .js files that repeatedly get sent to the browser for no >

Struts 1, Glassfish browser caching

2011-03-03 Thread Nancy and Jeff Hibbs
Using Struts 1, with glassfish.  I want to force (or, I guess, suggest) to the browser to cache all js and image files for at least 1 hour.  we're using jqry and some other .js files that repeatedly get sent to the browser for no reason, along with the static image files.   Most of the page is d

Re: Struts 2 & Browser Caching

2010-06-17 Thread Greg Lindholm
t accesses the resource the user would have to ctrl+f5 it... > > Sorry :( > > -Original Message- > From: RogerV [mailto:[email protected]] > Sent: 14 June 2010 12:57 > To: [email protected] > Subject: RE: Struts 2 & Browser Caching > > > >

RE: Struts 2 & Browser Caching

2010-06-14 Thread James Cook
[email protected]] Sent: 14 June 2010 12:57 To: [email protected] Subject: RE: Struts 2 & Browser Caching James Cook-13 wrote: > > Nope, no misunderstanding. All I was saying was that people seem to > experience the opposite to what you are experiencing. Like you said, > th

RE: Struts 2 & Browser Caching

2010-06-14 Thread RogerV
o you? I'm obviously using the wrong keywords :( Regards -- View this message in context: http://old.nabble.com/Struts-2---Browser-Caching-tp28876782p28878618.html Sent from the Struts - User mailing list archive at Nabble.com. ---

RE: Struts 2 & Browser Caching

2010-06-14 Thread James Cook
Subject: RE: Struts 2 & Browser Caching James Cook-13 wrote: > > I two would like to hear about solutions to this, after a quick Google, > I found most people have it the other way with their JS files being > cached and not reflecting there changes. > I think that either

RE: Struts 2 & Browser Caching

2010-06-14 Thread RogerV
message in context: http://old.nabble.com/Struts-2---Browser-Caching-tp28876782p28878060.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [email protected] For additional

RE: Struts 2 & Browser Caching

2010-06-14 Thread James Cook
53 To: [email protected] Subject: Struts 2 & Browser Caching Hi While building the functionality of my web-app served up by Apache Tomcat, I use in all my pages to ensure that requests to the pages with dynamic content (most of them) actually reload from the server rather than

Struts 2 & Browser Caching

2010-06-14 Thread RogerV
ge in context: http://old.nabble.com/Struts-2---Browser-Caching-tp28876782p28876782.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [email protected] For additional comm

Re: XML file reloading in JSP (Caching issue)

2010-05-25 Thread Paweł Wielgus
Hi, You can try things described here: http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html i don't know if that's still acurate but maybe it will help. Best greetings, Paweł Wielgus. 2010/5/24 XML User : > > I just did. > > No luck. :-( &

RE: XML file reloading in JSP (Caching issue)

2010-05-24 Thread Martin Gainty
> Date: Mon, 24 May 2010 08:40:39 -0700 > From: [email protected] > To: [email protected] > Subject: RE: XML file reloading in JSP (Caching issue) > > > I just did. > > No luck. :-( > > Thanks for the idea. > > > sandeep.furia wrote: > >

RE: XML file reloading in JSP (Caching issue)

2010-05-24 Thread XML User
.com] > Sent: Monday, May 24, 2010 11:16 AM > To: [email protected] > Subject: Re: XML file reloading in JSP (Caching issue) > > > Thanks for quick reply Brian.! > > I tried adding new timestamp as parameters which generates new number > everytime I visit the pa

RE: XML file reloading in JSP (Caching issue)

2010-05-24 Thread sandeep.furia
(Caching issue) Thanks for quick reply Brian.! I tried adding new timestamp as parameters which generates new number everytime I visit the page. Even added those headers setting for no cache... Still it is not getting updated. Brian Thompson-5 wrote: > > What extra parameters have you

Re: XML file reloading in JSP (Caching issue)

2010-05-24 Thread XML User
to the request? AFAIK the > standard solution to this type of "improper caching" problem is to > simply append a random number or a timestamp to the request URL. It's > an ugly hack, but it does work even when the headers don't seem to do > the trick. > > Of course

Re: XML file reloading in JSP (Caching issue)

2010-05-24 Thread Brian Thompson
What extra parameters have you added to the request? AFAIK the standard solution to this type of "improper caching" problem is to simply append a random number or a timestamp to the request URL. It's an ugly hack, but it does work even when the headers don't seem to do the tr

XML file reloading in JSP (Caching issue)

2010-05-24 Thread XML User
Hi, I am running into an issue of caching. I have a jsp which generates the tree view from an XML file. This XML file are loaded when the jsp is loaded. So whenever I add new child to the tree view the xml file is updated by action class and the request reloads the jsp page which in turns

RE: [Q] Enable Freemarker template caching

2010-02-16 Thread Hoying, Ken
[mailto:[email protected]] Sent: Monday, February 15, 2010 11:53 PM To: Struts Users Mailing List Subject: Re: [Q] Enable Freemarker template caching Hi to all, i have a doubt about struts 2. Is possible to write ognl expressions on struts.xml . Let's say, something like wildcard

Re: [Q] Enable Freemarker template caching

2010-02-15 Thread Oscar
Hi to all, i have a doubt about struts 2. Is possible to write ognl expressions on struts.xml . Let's say, something like wildcards but instead wildcards build the value of result with some attribute from request or a value of session, that's possible? THanks in regard -- Oscar

Re: [Q] Enable Freemarker template caching

2010-02-15 Thread Wes Wannemacher
reemarker template caching > in the performance tuning document > (http://struts.apache.org/2.1.8.1/docs/performance-tuning.html) to be a bit > confusing. > > The document states: > > As of Struts 2.0.10, setting the property struts.freemarker.templatesCache   > to true

Re: [Q] Enable Freemarker template caching

2010-02-15 Thread Dale Newfield
Hoying, Ken wrote: In Struts versions prior to 2.0.10, you had to copy the /template directory from the Struts 2 jar in your WEB_APP root to utilize Freemarker's built in chaching mechanism in order to achieve similar results. And I think as a result of following this old advice I've now got ol

[Q] Enable Freemarker template caching

2010-02-15 Thread Hoying, Ken
I am finding the text regarding the enablement of Freemarker template caching in the performance tuning document (http://struts.apache.org/2.1.8.1/docs/performance-tuning.html) to be a bit confusing. The document states: As of Struts 2.0.10, setting the property

combat JavaScript caching

2009-09-29 Thread Michael Finney
In order to combat JavaScript caching, I wish to have my JavaScript files served up where there is a version number in the url. I got the idea from: "Help with aggressive JavaScript caching" http://stackoverflow.com/questions/54475/help-with-aggressive-javascript-caching example: Ho

Re: caching Java objects

2009-07-08 Thread dusty
Mitch Claborn wrote: > > What is the preferred method of caching arbitrary Java objects locally > in a Struts application? I've been making my actions implement > ApplicationAware and storing objects in that Map. (I think this comes > from the ServletContext?) Is that the be

Re: caching Java objects

2009-07-08 Thread Oscar Alvarez
Hi... It depends on what the objects mean on your system... exist ApplicationAware, SessionAware and RequestAware interfaces... You decide what to use in your design. HTH 2009/7/8 Mitch Claborn > What is the preferred method of caching arbitrary Java objects locally > in a Struts appli

caching Java objects

2009-07-08 Thread Mitch Claborn
What is the preferred method of caching arbitrary Java objects locally in a Struts application? I've been making my actions implement ApplicationAware and storing objects in that Map. (I think this comes from the ServletContext?) Is that the best way or is there something else?

Re: S2: setting caching-related response headers on *.action?

2009-06-06 Thread Paweł Wielgus
Hi Bas, i don't know what You are trying to achieve here but if it's not caching of Your sites read my post here: http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html Best greetings, Paweł Wielgus. 2009/6/5 Bas Schulte : > Hi, > > I want all re

S2: setting caching-related response headers on *.action?

2009-06-05 Thread Bas Schulte
Hi, I want all response of my action handlers to have a couple of headers related to caching (i.e.: do not cache this, please). I would expect there's some global settings somewhere (struts.xml) that handles this for me but I can't find it. Any pointers on this? Ch

Re: S2: caching problem,-user clicks on a link and then back w/ broweser data is lost

2009-01-17 Thread dusty
lem: When the user clicks a url from the list and then click BACK on > the *BROWSER'S BUTTON* - the list is GONE and he needs to input the > date/data again. > > can anyone explain why this happens and how to circumvent this? > > > > -- View this message in cont

S2: caching problem,-user clicks on a link and then back w/ broweser data is lost

2009-01-17 Thread xianwinwin
: When the user clicks a url from the list and then click BACK on the *BROWSER'S BUTTON* - the list is GONE and he needs to input the date/data again. can anyone explain why this happens and how to circumvent this? -- View this message in context: http://www.nabble.com/S2%3A-caching-problem

S2: caching problem, clicking the BACK browser and I'm losing the data !??!!?

2008-12-31 Thread xianwinwin
K from the *list* and then click BACK on the BROWSER - the list is GONE and he needs to input the form again. can anyone explain why this happens and how to circumvent this? thank you (enjoy 2009) ;-) -- View this message in context: http://www.nabble.com/S2%3A-caching-problem%2C-clicking-the-BACK-b

Re: Server Side caching of .action(s)

2008-08-07 Thread GF
TED]> wrote: > Apache HTTPD :- > http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#forwardreverse > > > GF wrote: > >> Hello. >> I want to do some server side caching of some specific .action of my >> websites. >> I am currently working on the CacheFil

Re: Server Side caching of .action(s)

2008-08-07 Thread Al Sutton
Apache HTTPD :- http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#forwardreverse GF wrote: Hello. I want to do some server side caching of some specific .action of my websites. I am currently working on the CacheFilter of OsCache, but it doesn't seem very good and has some limitati

Server Side caching of .action(s)

2008-08-07 Thread GF
Hello. I want to do some server side caching of some specific .action of my websites. I am currently working on the CacheFilter of OsCache, but it doesn't seem very good and has some limitations I don't like. Can you suggest me some good open source alternatives to analyze? Thanks

[OT] Re: tc5.x caching jsp

2008-04-11 Thread Dave Newton
--- Chris Pat <[EMAIL PROTECTED]> wrote: > I have a reset() that generates a random number. However > after the first page view the same number persists. How > do I stop this caching by the server? Assuming it's actually a caching issue, google for tomcat +caching. Th

tc5.x caching jsp

2008-04-10 Thread Chris Pat
Hello I have a reset() that generates a random number. However after the first page view the same number persists. How do I stop this caching by the server? tia.

Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-18 Thread Filipe David Manana
ion, but I hope it helps. > > thx, > Ken K > -- > View this message in context: > http://www.nabble.com/Struts-2-%2B-Spring-2-%2B-JPA-%2B-Oracle-%2B-Connection-Caching-Pooling-tp14284397p14398750.html > Sent from the Struts - User mailing list archive at Nabble.com. > > &g

Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-18 Thread kenk
on pooling: Seems to work for now. There is probably a less verbose way to do this. And yes I agree this isn't a Struts question, but I hope it helps. thx, Ken K -- View this message in context: http://www.nabble.com/Struts-2-%2B-Spring-2-%2B-JPA-%2B-Oracle-%2B-Connection-

Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-11 Thread Alberto A. Flores
you need to read their documentation and play with it. Now, ORMs typically do their own connection caching (e.g. Hibernate), but in my understanding, the prefer way of doing connection pooling is via JNDI, so as to use the JEE specification appropriately. In the Struts sample, I think TopLink

Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-11 Thread Musachy Barroso
uts 2 that is Oracle database driven. > Integrating Struts 2 + Spring 2 + JPA (as described in > http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html), how do I > configure Oracle database Connection Caching (pooling)? > > Oracle's JDBC driver provided in the Oracle I

Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-11 Thread Filipe David Manana
Hi all, I want to create a web app with Struts 2 that is Oracle database driven. Integrating Struts 2 + Spring 2 + JPA (as described in http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html), how do I configure Oracle database Connection Caching (pooling)? Oracle's JDBC d

Re: browser caching

2007-06-27 Thread Laurie Harper
mfnospam wrote: not sure whether this works - I'm new to s2 myself. However there seems to be a possibility to configure brwoser caching in struts.properties: struts.serve.static.browserCache=false maybe this helps kind regards matthias I believe the OP is using Struts 1, though

Re: browser caching

2007-06-26 Thread mfnospam
not sure whether this works - I'm new to s2 myself. However there seems to be a possibility to configure brwoser caching in struts.properties: struts.serve.static.browserCache=false maybe this helps kind regards matthias ---

browser caching

2007-06-26 Thread Pierre Goupil
Hello, I'm trying to avoid browser caching in my webapp since I've only got dynamic pages. I'm trying the Apache mod_expires stuff. I've set it to : ExpiresActive On ExpiresDefault "now" But unfortunately, it doesn't work : my HTTP header is set to "Cac

Dynamic image caching

2007-06-14 Thread Paul Benedict
I am following the instructions here: http://www.servlets.com/archive/servlet/ReadMsg?msgId=427231&listName=struts-user But unfortunately I cannot get my browser to send the "If-Modified-Since" header. Instead, I am always receiving the "cache-control=max-age=0" in the request, which HTTP dicta

Re: caching and reload

2007-04-10 Thread stanlick
Are you talking about reset in a Struts form? Make sure the bean is scoped to request. On 4/6/07, Laurie Harper <[EMAIL PROTECTED]> wrote: Chris Pat wrote: > Hello > Is/how it possible to clear the cache on an action? > My action works perfectly, however when the user hits reload > the previou

Re: caching and reload

2007-04-06 Thread joey
do you have this? On 4/7/07, Laurie Harper <[EMAIL PROTECTED]> wrote: Chris Pat wrote: > Hello > Is/how it possible to clear the cache on an action? > My action works perfectly, however when the user hits reload > the previous values are repeated. I'm not sure what cache you're talking abou

Re: caching and reload

2007-04-06 Thread Laurie Harper
Chris Pat wrote: Hello Is/how it possible to clear the cache on an action? > My action works perfectly, however when the user hits reload > the previous values are repeated. I'm not sure what cache you're talking about, but isn't this behaviour as you would expect? If I refresh a page, I exp

caching and reload

2007-04-06 Thread Chris Pat
Hello Is/how it possible to clear the cache on an action? My action works perfectly, however when the user hits reload the previous values are repeated. I have coded a reset with ="" and still it uses the old values. What am I missing? I will trap the null or "" values in the action(I know I

RE: Caching

2006-09-19 Thread Krishna, Hari
PROTECTED] Sent: Tuesday, September 19, 2006 2:14 PM To: Struts Users Mailing List Subject: Caching Hi, I have an application whereby i first load all the data from the database(using joins etc. about 400 rows an 20 columns). Then the user is given an option to filter this data based on some

Caching

2006-09-19 Thread Puneet Lakhina
reuse the data. For displaying the data on the page I set the data in the request scope as a Map. What sort of caching mechanisms could be used for the above scenario? I don't really have any experience with caching mechanisms, so I'm kinda confused. -- Puneet

[Solved] Image Caching in Tomcat

2006-06-20 Thread Mukta
Thanks Paz, My problem seems to be resolved :) Mukta. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 11:41 AM To: Struts Users Mailing List Cc: Mukta Subject: Re: Image Caching in Tomcat Hello Mukta, I would nto advice to disable

Re: Image Caching in Tomcat

2006-06-19 Thread paz . periasamy
Hello Mukta, I would nto advice to disable the Image caching in Tomcat. Since this will affect the performance of the over all server. Moreover the Internet Browser also cahces the Images. Inorder to solve this problem completely, I used to follow a simple solution. Consider the Image tag is

Image Caching in Tomcat

2006-06-19 Thread Mukta
using every possible combination of response.setHeader() and HTTP META tags but nothing seems to work for me. Now the only reason that I can think of is caching of images done by the tomcat server. Does anybody know how to configure tomcat server to disable image caching? Its really urgent

Re: Plug-In for in-memory caching/refreshing?

2006-04-14 Thread James Mitchell
I've done this with Spring + EHCache. I used a method interceptor so both my struts code and my facade implementation was none the wiser. http://opensource.atlassian.com/confluence/spring/display/DISC/Caching +the+result+of+methods+using+Spring+and+EHCache You could even get creativ

Plug-In for in-memory caching/refreshing?

2006-04-14 Thread news.gmane.org
In a struts app, I would like to have some objects which load themselves via db queries on app startup, and remain in memory for quick information access. They would need to refresh different pieces of data on different schedules, and also be triggered manually to refresh based on some user act

Re: [OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-04-05 Thread Frank W. Zammetti
>> Firefox >> >> but >> >>> not in IE i.e after clicking next these are printing the next page's >> >> first >> >>> element. I am in the process of using HTTPWatch. I'll let u guys >> know >> >> the >> >&g

Re: [OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-04-05 Thread zahid mohammed
but > >>> not in IE i.e after clicking next these are printing the next page's > >> first > >>> element. I am in the process of using HTTPWatch. I'll let u guys know > >> the > >>> result later. > >>> > >> What do

Re: Struts / Tiles Caching No Frames and Inter Tile communication

2006-03-10 Thread Greg Reddin
On Mar 10, 2006, at 3:00 AM, Antonio Petrelli wrote: By the way, why are not you using portlets? That was my thought as well. It sounds like a portlet environment is more like what you are looking for. Greg - To unsub

Re: Struts / Tiles Caching No Frames and Inter Tile communication

2006-03-10 Thread Antonio Petrelli
Norm ha scritto: Is there any "tile caching mechanism" available, or, should we develop some sort of cache before we go to the business tier so we can redraw all of the tiles anyway? I would like to make a tile "sticky" when the app knows there is no need to refresh

Struts / Tiles Caching No Frames and Inter Tile communication

2006-03-09 Thread Norm
ole screen when an interaction is only with 1 window. Is there any "tile caching mechanism" available, or, should we develop some sort of cache before we go to the business tier so we can redraw all of the tiles anyway? I would like to make a tile "sticky" when the app knows

Re: [OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-18 Thread Frank W. Zammetti
bit of HTML before them. I should rephrase my belief: obviously there is different behavior under IE, but I'm quite skeptical that it's an issue with caching insofar as the headers you are sending are correct and you are sending a cache-busting unique URL parameter. We use both techniques (

Re: [OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-18 Thread zahid mohammed
he > > result later. > > > What do you mean by "first element?" Those printlns are half-way through > the source you posted; there is quite a bit of HTML before them. > > I should rephrase my belief: obviously there is different behavior under > IE, but I'm qu

Re: [OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-17 Thread Dave Newton
them. I should rephrase my belief: obviously there is different behavior under IE, but I'm quite skeptical that it's an issue with caching insofar as the headers you are sending are correct and you are sending a cache-busting unique URL parameter. We use both techniques (and have for

Re: [OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-17 Thread zahid mohammed
the wrong name (first page > > element) on the jsp. > > > Well, it certainly wouldn't be the first page element. It's after a > logic:iterate and table etc. > > First I would create a test JSP w/o all the extra garbage, includes, > etc. as a sanity check and see i

Re: [OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-17 Thread Dave Newton
#x27;s after a logic:iterate and table etc. First I would create a test JSP w/o all the extra garbage, includes, etc. as a sanity check and see if the two printlns are still doing different things. I still do not believe that this is a caching or IE issue. If those two lines are doing

Re: [OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-17 Thread zahid mohammed
Yes. After clicking next "System.out.println" is printing the right name on the console whereas "out.println" is printing the wrong name (first page element) on the jsp. Thanks On 2/17/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > zahid mohammed wrote: > >> System.out.println("The First cand

[OT] Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-17 Thread Dave Newton
zahid mohammed wrote: >> System.out.println("The First candidates first name is >> "+firstCandidate.getFirstName()); >> out.println("First candidates first name is >> "+firstCandidate.getFirstName()); >> You're saying these two things print something different? Dave ---

Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-17 Thread Frank W. Zammetti
e.setHeader("Cache-Control", "no-store, no-cache, must-revalidate"); //response.addHeader("Cache-Control", "post-check=0, pre-check=0"); response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader("Expires",-1); //prevent

Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-17 Thread zahid mohammed
re, no-cache, > must-revalidate"); > //response.addHeader("Cache-Control", "post-check=0, pre-check=0"); > response.setHeader("Pragma","no-cache"); //HTTP 1.0 > response.setDateHeader("Expires",-1); //prevents cac

Re: Frustrating IE6 Caching problem......PLEASE HELP!!!!

2006-02-16 Thread zahid mohammed
e-Control", "post-check=0, pre-check=0"); response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader("Expires",-1); //prevents caching response.addHeader("Cache-Control","no-store"); //HTTP 1.1 %> function open

  1   2   3   >