Re: cache design pattern

2003-09-09 Thread Vic Cekvenic
In general, "data" caching should happen at the data (model of MVC) layer. DAO's like iBatis and Hibernate do caching automatically, you just configure a decay time in XML. hth, .V [EMAIL PROTECTED] wrote: hi all, I would like to implement a cache design pattern in my framework. before re-invent

RE: Cache problem

2003-02-23 Thread Mohan Radhakrishnan
Hi, An addendum to this problem. What other cache are there apart from the browser cache. Tomcat server cache ? Ways to disable it ? Our application has stopped dead in its tracks. Thanks, Mohan -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Monday, Fe

RE: cache the response and cache-example.war

2003-02-18 Thread Mitchell Morris
2003 12:02 PM > To: 'Struts Users Mailing List' > Subject: RE: cache the response and cache-example.war > > > Look at OSCache from opensymphony.com > > > | -Original Message- > | From: Ginger Cheng [mailto:[EMAIL PROTECTED]] > | Sent: Tuesday, February 18,

RE: cache the response and cache-example.war

2003-02-18 Thread Chen, Gin
Someone gave me this a while back. <% if (jScriptOutput != null) { out.print(jScriptOutput); } else { javax.servlet.jsp.tagext.BodyContent bc = pageContext.pushBody(); out = bc; %> <%-- any arbitrary JSP/HTML/JavaScript here --%> <% out = pageContext.popBody(); jScriptOutput = bc.getSt

RE: cache the response and cache-example.war

2003-02-18 Thread Jacob Hookom
Look at OSCache from opensymphony.com | -Original Message- | From: Ginger Cheng [mailto:[EMAIL PROTECTED]] | Sent: Tuesday, February 18, 2003 10:52 AM | To: Struts Users Mailing List | Subject: cache the response and cache-example.war | | Hello, | Is there any other way to cache

Re: cache the response of a request in struts?

2003-02-18 Thread Nicolas De Loof
Just declare your formbean as "session" scoped, so it will be avaible to build another view (another JSP) Nico. > Hi, > I think I need to make it clearer. I need to cache the response so > I can give the user the option to represent the data in another format > other than the one in the

RE: Cache

2003-02-14 Thread Mohan Radhakrishnan
ginal Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:42 PM To: [EMAIL PROTECTED] Subject: Re: Cache You can use various http headers to tell the browser to not cache the pages. There's no guarantee that the browsers will follow your suggesti

Re: Cache

2003-02-13 Thread Gus Delgado
that would be a problem. Can't you upgrade?? It's suppose to be backwards compatible. -Original Message- From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 12:18 PM To: Struts Users Mailing List Subject: Re: Cache I think I'm out of luck cause I&#x

Re: Cache

2003-02-13 Thread Kris Schneider
From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 12:18 PM To: Struts Users Mailing List Subject: Re: Cache I think I'm out of luck cause I'm using Struts 1.0.2, and the RequestProcessor is not part of that version. -Gus Alvarado, Juan (c) wrote:

Re: Cache

2003-02-13 Thread Gus Delgado
ruts Users Mailing List Subject: Re: Cache I think I'm out of luck cause I'm using Struts 1.0.2, and the RequestProcessor is not part of that version. -Gus Alvarado, Juan (c) wrote: Yeah sure I apologize for not being more detailed. It goes in your struts-config file. I have

RE: Cache

2003-02-13 Thread Alvarado, Juan (c)
Oh yeah that would be a problem. Can't you upgrade?? It's suppose to be backwards compatible. -Original Message- From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 12:18 PM To: Struts Users Mailing List Subject: Re: Cache I think I'm out of

Re: Cache

2003-02-13 Thread Gus Delgado
uggest you read the javadoc on this class. Good luck. -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 11:55 AM To: Struts Users Mailing List Subject: Re: Cache Juan Could you be a little more specific... I'm not familiar with . Wh

RE: Cache

2003-02-13 Thread Alvarado, Juan (c)
2003 11:55 AM To: Struts Users Mailing List Subject: Re: Cache Juan Could you be a little more specific... I'm not familiar with . Where does it actually go and what would my processor subclass be? Thanks... Alvarado, Juan (c) wrote: >We have used the following as a means of e

Re: Cache

2003-02-13 Thread David Graham
is in the struts-config.xml file. See the dtd for details. David From: ajTreece <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Cache Date: Thu, 13 Feb 2003 10:55:18 -06

Re: Cache

2003-02-13 Thread ajTreece
Juan Could you be a little more specific... I'm not familiar with . Where does it actually go and what would my processor subclass be? Thanks... Alvarado, Juan (c) wrote: We have used the following as a means of expiring pages. This way when the user hits the back button they will get a p

RE: Cache

2003-02-13 Thread Alvarado, Juan (c)
We have used the following as a means of expiring pages. This way when the user hits the back button they will get a page has expired message. -Original Message- From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 10:54 AM To: Struts Users Mailing List Subject:

Re: Cache

2003-02-13 Thread Gus Delgado
Yeah I tried adding this at the end of the action. response.setHeader("Pragma", "no-cache"); response.setHeader("Cache-Control", "no-cache"); response.setHeader("Expires", "Wed, 26 Feb 1997 08:21:57 GMT"); I tested it but it does not seem to work on either IE or Mozilla David Graham wrote: You

Re: Cache

2003-02-13 Thread David Graham
You can use various http headers to tell the browser to not cache the pages. There's no guarantee that the browsers will follow your suggestion though. It sounds like you're trying to control the user too much. David From: Gus Delgado <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List

Re: Cache reload

2001-06-28 Thread Duffiana Jones
hi, the init() function of a servlet is called only once, when the servlet class is loaded by the container. so, to achieve your periodic refresh, you may want to start a thread within the servlet container. IMHO that does not follow the spirit of the J2EE programming practices. A way we choosed