RE: The browser cache JS resources?

2004-03-17 Thread Brendan Richards
Add the following headers to your js/staticJavascript.jsp file to tell your browser not to cache it: % response.addHeader(Cache-Control, no-store, no-cache, must-revalidate); // HTTP/1.1 response.addHeader(Pragma, no-cache); response.setDateHeader (Expires, 0); //prevents caching at the proxy

The browser cache JS resources?

2004-03-16 Thread Joao Batistella
of it. Is this bad? My doubt is if the browser will always request the JS file, every request or put it in cache. Thanks, JP

RE: The browser cache JS resources?

2004-03-16 Thread Hookom, Jacob
Yes, that is good. -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 1:32 PM To: 'Struts Users Mailing List' Subject: The browser cache JS resources? Hello. I have a doubt. I'm thinking about including in all my pages the same javascrip

RE: The browser cache JS resources?

2004-03-16 Thread Shahak.Nagiel
First, I'd recommend renaming it with a .js file extension, since JSP is probably misleading if it's only got JS functions. I don't see where you could (forcibly) cache it on the client machine, nor would you want to. Most modern browsers try to cache files (I know HTML and images, and I'm

RE: Struts Validator overriding cache-control?

2004-01-15 Thread Brown, James
. If yes, is this the expected behaviour of a browser for pages that are marked as do not cache? 3. If yes, is there any known mechanism to force the browser to not cache the POST data? Cheers, James THIS COMMUNICATION MAY

Struts Validator overriding cache-control?

2004-01-14 Thread Brown, James
as displayed in step 3 is redisplayed. Our controller is set to not cache any pages via: controller set-property property=nocache value=true/ /controller The ValidatorForm/ActionForm's scope is also set to request, thus the page should be displayed empty. This situation only occurs if the form

Re: Struts Validator overriding cache-control?

2004-01-14 Thread Hubert Rabago
the page requested by the user. Our controller is set to not cache any pages via: controller set-property property=nocache value=true/ /controller The ValidatorForm/ActionForm's scope is also set to request, thus the page should be displayed empty. This situation only occurs

RE: Struts Validator overriding cache-control?

2004-01-14 Thread Brown, James
Users Mailing List Subject: Re: Struts Validator overriding cache-control? The sequence you described is the expected behavior. Comments below. --- Brown, James [EMAIL PROTECTED] wrote: We have encountered a situation wherein it appears that the server-side validation provided

Tag for adding no-cache header.

2003-12-10 Thread Antony Paul
Hi, Does any Struts tag generate the headers necessary to say browser not to cache a JSP page. It still exists as a scriptlet in my JSP. If one is added it will be useful. I think every dynamic page need this. rgds Antony Paul

Re: Tag for adding no-cache header.

2003-12-10 Thread Adam Hardy
On 12/10/2003 12:16 PM Antony Paul wrote: Hi, Does any Struts tag generate the headers necessary to say browser not to cache a JSP page. It still exists as a scriptlet in my JSP. If one is added it will be useful. I think every dynamic page need this. rgds Antony Paul. Put this tag inside

Re: Tag for adding no-cache header.

2003-12-10 Thread Antony Paul
pls explain. I want to put header in JSP's. The values are //to prevent page-caching in client response.addHeader(pragma,No-cache); response.addHeader(Cache-Control,no-cache); response.addDateHeader(Expires,0); rgds Antony Paul. - Original Message - From: Adam Hardy [EMAIL PROTECTED

Re: Tag for adding no-cache header.

2003-12-10 Thread Adam Hardy
Antony Paul wrote: pls explain. I want to put header in JSP's. The values are //to prevent page-caching in client response.addHeader(pragma,No-cache); response.addHeader(Cache-Control,no-cache); response.addDateHeader(Expires,0); rgds Antony Paul. - Original Message - From: Adam Hardy

RE: Tag for adding no-cache header.

2003-12-10 Thread Trieu, Danny
In your deployment descriptor, web.xml, you can can set the ActionServlet's parameter no-cache=true. The container will take care of this for you as long as all of your request go through the FrontController. Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL

RE: Tag for adding no-cache header.

2003-12-10 Thread Fullam, Jonathan
, December 10, 2003 11:31 AM To: 'Struts Users Mailing List' Subject: RE: Tag for adding no-cache header. In your deployment descriptor, web.xml, you can can set the ActionServlet's parameter no-cache=true. The container will take care of this for you as long as all of your request go through

Re: Tag for adding no-cache header.

2003-12-10 Thread Sylvain Cliche
1- Does someone know precisely what headers are added to HTTP responses when adding the following to the controller element of the struts-config file ? set-property property=nocache value=true/ 2- I am currently using the following to disable user-agent cache inside of my Struts Actions. Does

RE: Tag for adding no-cache header.

2003-12-10 Thread Trieu, Danny
If I remember correctly, I think the request processor did exactly what you did on 2. And I think (1) approach is better and it consistent with MVC. Just make sure that all of your request will go through the FrontController then all of your response will have it header set with no-cache

Re: Tag for adding no-cache header.

2003-12-10 Thread Christian Bollmeyer
of your response will have it header set with no-cache. --danny AFAIK Struts issues only the 'standard three' set of NoCache directions, so the IE extensions are not there. The same is true for the endless list of cache control headers when proxies come into play. The details are laid out

Re: Tag for adding no-cache header.

2003-12-10 Thread Adam Hardy
On 12/10/2003 09:18 PM Christian Bollmeyer wrote: AFAIK Struts issues only the 'standard three' set of NoCache directions, so the IE extensions are not there. The same is true from wget -S 3 Pragma: No-cache 4 Cache-Control: no-cache 5 Expires: Thu, 01 Jan 1970 00:00:00 GMT Adam -- struts 1.1

Re: browser cache.

2003-10-26 Thread kimbuba
thnx Steve! Steve Raeburn [EMAIL PROTECTED] ha scritto nel messaggio news:[EMAIL PROTECTED] There is. http://jakarta.apache.org/struts/userGuide/configuration.html#controll er_config Steve - To unsubscribe, e-mail:

browser cache.

2003-10-25 Thread kimbuba
Hello! is there a way to tell struts sending headers to tell client browser to don't cache pages? (sending expired headers). Thnx to all! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: browser cache.

2003-10-25 Thread Steve Raeburn
There is. http://jakarta.apache.org/struts/userGuide/configuration.html#controll er_config Steve -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of kimbuba Sent: October 25, 2003 10:27 AM To: [EMAIL PROTECTED] Subject: browser cache. Hello! is there a way to tell

cache design pattern

2003-09-09 Thread meissa . Sakho
hi all, I would like to implement a cache design pattern in my framework. before re-inventing the wheel, I would like to ask to thoses who have already done that. Sample codes, advices are welcome. thanks in advance. Meissa L'integrite de ce message n'etant pas assuree sur internet, Natexis

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

Any progress/interest in a (WebObjects-like) page state cache Action for security? [WAS: Verifying integrity of URLs]

2003-09-04 Thread Mike Kienenberger
they shouldn't. Assume for the moment that the RDBMS cannot help you solve the problem.I don't really see how Roles help here because my understanding of Roles is that they only enable and restrict actions. Funny you should ask. I was just going to propose a page state cache Action type and see

problem in Logout Action and No cache using struts

2003-07-10 Thread Sachin
functionality i want that user will logout from system and not able to access whole application but still i am trying to implement it by using pragma no-cache etc. some META_ENV but not able to do that some people suggesting me to make session for logout but i don't want to use session for my application

Re: problem in Logout Action and No cache using struts

2003-07-10 Thread Nagendra Kumar O V S
rs Mailing List \(E-mail\) Subject: problem in Logout Action and No cache using struts Hi All,well iam working on a application using struts all works fine.but iam not able to solve one problem.My application should behave like a wizard.i don't want to us

RE: problem in Logout Action and No cache using struts

2003-07-10 Thread Sachin
Thanks Nagendra I am not aware of it it is working Thanks -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:59 AM To: [EMAIL PROTECTED] Subject: Re: problem in Logout Action and No cache using struts have u tried controller

[OT] Updateable Cache Framework

2003-07-04 Thread Affan Qureshi
We had an Application Cache implemented in our app which actually stored frequently used objects in at application scope. Whenever that object was modified in the DB we had to update its state in the cache too which was a pain. I was looking for available cache frameworks that did something

Tag to remove jsp from cache???

2003-07-01 Thread Prashanth.S
Hi all, Is there any tag in struts to remove cache?? Whenever i hit Browser 'Back' button it should not take from the cache.. Any help is appreciated.. or is there any option to do that Thanks Prashanth - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

RE: Tag to remove jsp from cache???

2003-07-01 Thread Alex Shneyderman
Before you send any data in the response you can Send the following thru your response object: % response.setDateHeader (Expires, 0); response.setHeader (Pragma, no-cache); if (request.getProtocol().equals (HTTP/1.1)) { response.setHeader (Cache-Control, no-cache); } % Note

Re: Tag to remove jsp from cache???

2003-07-01 Thread Nicolas De Loof
You can configure Struts to ad HTTP no-cache headers to every response : in struts-config.xml : controller nocache=true/ You can add some HTTP directives to your JSP (or tiles layouts) like this : head meta http-equiv=expires content=now meta http-equiv=pragma content=no-cache

Re: Tag to remove jsp from cache???

2003-07-01 Thread Prashanth.S
/ Could u please help me in this regard. Where should i specify controller element??[in which part of struts-config.xml] Thanking u Prashanth Nicolas De Loof [EMAIL PROTECTED] wrote: You can configure Struts to ad HTTP no-cache headers to every response : in struts-config.xml : You can add some HTTP

Re: Tag to remove jsp from cache???

2003-07-01 Thread Nicolas De Loof
-config.xml] Thanking u Prashanth Nicolas De Loof [EMAIL PROTECTED] wrote: You can configure Struts to ad HTTP no-cache headers to every response : in struts-config.xml : You can add some HTTP directives to your JSP (or tiles layouts) like this : Nico. Before you send any data

Re: Tag to remove jsp from cache???

2003-07-01 Thread Dan Tran
question: can I just configure the controller .. and dothing on the page? -D - Original Message - From: Nicolas De Loof [EMAIL PROTECTED] Newsgroups: Struts Sent: Tuesday, July 01, 2003 5:41 AM Subject: Re: Tag to remove jsp from cache??? You can configure Struts to ad HTTP no-cache

RE: Tag to remove jsp from cache???

2003-07-01 Thread James Childers
-Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 11:20 AM To: Struts Users Mailing List Subject: Re: Tag to remove jsp from cache??? question: can I just configure the controller .. and dothing on the page? That's correct. See: http

Re: Tag to remove jsp from cache???

2003-07-01 Thread Dan Tran
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 - Original Message - From

Image cache problem

2003-06-19 Thread David Bolsover
Hi all I have been using struts for some time now but a new problem has come up: I use a form to select some options needed retrieve some data required to generate a graph. For the sake of clarity, I'll call this retrieveDataAction. retrieveDataAction gets the data and places it into session

RE: Image cache problem

2003-06-19 Thread Remke Rutgers
Hi David, I think it has nothing to do with browser versions, I think this is only caused by caching settings. You must realize that caching can occur both in browser cache (configure this using Tools-Internet Options-General-Temporary Internet Files-Settings) and in proxy server cache. You

RE: Image cache problem - solved

2003-06-19 Thread David Bolsover
Remke Thanks I was already setting: response.setHeader(Cache-Control,no-cache); response.setHeader(Pragma,no-cache); In the jsp containing the image to solve the problem of page caches. What caught me out was that this had to do this for the image also - as I had just done before your mail came

Re: Image cache problem - solved

2003-06-19 Thread Adam Hardy
: response.setHeader(Cache-Control,no-cache); response.setHeader(Pragma,no-cache); In the jsp containing the image to solve the problem of page caches. What caught me out was that this had to do this for the image also - as I had just done before your mail came in! In my createimageAction I now have

RE: Image cache problem - solved

2003-06-19 Thread David Bolsover
property in the controller handle this situation correctly? David -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 15:16 To: Struts Users Mailing List Subject: Re: Image cache problem - solved Struts 1.1 will do this for you automatically if you set

Re: Image cache problem - solved

2003-06-19 Thread Adam Hardy
correctly? David -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 15:16 To: Struts Users Mailing List Subject: Re: Image cache problem - solved Struts 1.1 will do this for you automatically if you set the following in your struts-config.xml controller !-- all

Cache problem

2003-02-23 Thread Mohan Radhakrishnan
Hi, I'm facing the following problem with the cache. This is my javascript. menu.addMenuItem(TCP vs. UDP vs. ICMP,location='generic.action?report=21'); 1. This calls GenericAction and puts the report parameter in the session and forwards to a JSP that displays some descriptive text

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

cache the response of a request in struts?

2003-02-18 Thread Ginger Cheng
Hello, I need to cache the response of last request. Can anyone tell me how to do that in Struts? Any help is appreciated. ginger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

more: cache the response of a request in struts?

2003-02-18 Thread Ginger Cheng
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 immediate response jsp page. I check the cache tag but what I want to cache is the form bean from server other than

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

cache the response and cache-example.war

2003-02-18 Thread Ginger Cheng
Hello, Is there any other way to cache it? Cuz I am concerned that the application is very big and it may slow down the server. Besides, where to download the cache-example.war of jakarta? The links are all dead. Thank you. ginger At 05:22 PM 2/18/2003 +0100, you wrote: Just

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

RE: cache the response and cache-example.war

2003-02-18 Thread Chen, Gin
(); out.print(jScriptOutput); } % -Tim -Original Message- From: Ginger Cheng [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:52 AM To: Struts Users Mailing List Subject: cache the response and cache-example.war Hello, Is there any other way to cache it? Cuz I am

RE: cache the response and cache-example.war

2003-02-18 Thread Mitchell Morris
Alternately, there is a nice cache in Jakarta Turbine (http://jakarta.apache.org/turbine/jcs/). doesn't-everybody-write-one-of-these-eventually-ly y'rs, +Mitchell -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 12:02 PM To: 'Struts

RE: Cache

2003-02-14 Thread Mohan Radhakrishnan
think - the browser picked it up from the cache. So the report ID became stale. So finally we used this META HTTP-EQUIV=Expires CONTENT=-1 META HTTP-EQUIV=Cache-Control CONTENT=no-cache, must-revalidate META HTTP-EQUIV=Pragma CONTENT=no-cache The -1 value - I don't have an explanation

Cache

2003-02-13 Thread Gus Delgado
Is there any way to clean the cache from an Action. I have a LogoutAction that gets all of the Attributes in the session by name and removes all of them + it invalidates the session, but I also want to clear the cache so that when the user hits the back button nothing

[OT] Business object management (state data and cache data)

2003-02-13 Thread Heligon Sandra
have the same global list because access to objects depend on authorizationmechanism. We get the catalog through a CORBA request to our application server,the user right filter is not done on the web server side but on the application server. The catlog object is a cache

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

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 can use

RE: Cache

2003-02-13 Thread Alvarado, Juan (c)
: Thursday, February 13, 2003 10:54 AM To: Struts Users Mailing List Subject: Cache Is there any way to clean the cache from an Action. I have a LogoutAction that gets all of the Attributes in the session by name and removes all of them + it invalidates the session, but I also want to clear

Re: Cache

2003-02-13 Thread ajTreece
they will get a page has expired message. controller locale=true nocache=true processorClass=your.processor.subclass -Original Message- From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 10:54 AM To: Struts Users Mailing List Subject: Cache Is there any way

Re: Cache

2003-02-13 Thread David Graham
controller 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 -0600 Juan Could you

RE: Cache

2003-02-13 Thread Alvarado, Juan (c)
11:55 AM To: Struts Users Mailing List Subject: Re: Cache Juan Could you be a little more specific... I'm not familiar with controller 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

Re: Cache

2003-02-13 Thread Gus Delgado
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 controller Where

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 luck cause I'm

Re: Cache

2003-02-13 Thread Gus Delgado
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 mine right after

Re: Cache

2003-02-13 Thread Kris Schneider
:[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: Yeah sure I apologize for not being more

Re: Cache

2003-02-13 Thread Gus Delgado
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'm using Struts 1.0.2, and the RequestProcessor

Re: Prevent Cache.

2003-01-27 Thread carlos list
Yes, I have a proxy server for Extranet access, but my application runs only on the intranet. From: Chuck Cavaness [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Prevent Cache. Date: Fri, 24 Jan 2003 19:00

Re: Prevent Cache.

2003-01-27 Thread Iain Sanderson
PROTECTED] To: [EMAIL PROTECTED] cc: Subject:Re: Prevent Cache. Yes, I have a proxy server for Extranet access, but my application runs only on the intranet. From: Chuck Cavaness [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing

Re: Prevent Cache.

2003-01-27 Thread BERNARDO ANTONIO BUFFA
This problem nearly turns me crazy. But I solved. The real guilt of this horror cache history is IE (Microbugs) when the GET http method is used. My solution: always do a POST. And if you need a GET overwrite the URL, with an extra parameter = System.currentTimeMillis() (guarantee value

Re: Prevent Cache.

2003-01-27 Thread Vinay
: Monday, January 27, 2003 11:44 AM Subject: Re: Prevent Cache. This problem nearly turns me crazy. But I solved. The real guilt of this horror cache history is IE (Microbugs) when the GET http method is used. My solution: always do a POST. And if you need a GET overwrite the URL

Re: Prevent Cache.

2003-01-27 Thread Vinay
Sorry for posting in this topic ignore my e-mail in this topic - Original Message - From: BERNARDO ANTONIO BUFFA [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 27, 2003 11:44 AM Subject: Re: Prevent Cache. This problem nearly turns me crazy. But I solved. The real

Re: Prevent Cache.

2003-01-27 Thread Gemes Tibor
2003-01-27, h keltezssel BERNARDO ANTONIO BUFFA ezt rta: This problem nearly turns me crazy. But I solved. The real guilt of this horror cache history is IE (Microbugs) when the GET http method is used. My solution: always do a POST. And if you need a GET overwrite the URL, with an extra

RE: Prevent Cache.

2003-01-27 Thread Bill Chmura
another angle to consider -Original Message- From: carlos list [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 9:13 AM To: [EMAIL PROTECTED] Subject: Re: Prevent Cache. Yes, I have a proxy server for Extranet access, but my application runs only on the intranet. From: Chuck

the old cache problem.

2003-01-24 Thread carlos list
Hello list: I'm bugging here with an old problem: prevent browser cache. My problem is that I've tried all the combinations I found in the archives: % response.setHeader(Cache-Control,no-cache); _ The new MSN 8: advanced

[OT] RE: the old cache problem.

2003-01-24 Thread James Childers
See following link: http://www.web-caching.com/msiebugs.html -Original Message- From: carlos list [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 5:04 PM To: [EMAIL PROTECTED] Subject: the old cache problem. Hello list: I'm bugging here with an old problem: prevent

Prevent Cache.

2003-01-24 Thread carlos list
Hello List, i'm dealing with the old problem of preventing browser chache. I've tried all the combinations i found in the archive: Code in my JSP view: %response.setHeader(Cache-Control,no-cache); response.setHeader(Pragma,no-cache

Re: Prevent Cache.

2003-01-24 Thread Chuck Cavaness
Just out of curiosity, are you using a proxy server? chuck From: carlos list [EMAIL PROTECTED] Date: 2003/01/24 Fri PM 06:09:53 EST To: [EMAIL PROTECTED] Subject: Prevent Cache. Hello List, i'm dealing with the old problem of preventing browser chache. I've tried all

No cache custom tag not working

2002-08-30 Thread Schmidt, Carl
I have created a no cache custom tag to be inserted on various page. Here is the specific doStartTag method: public int doStartTag() { HttpServletResponse response = (HttpServletResponse) pageContext.getResponse(); response.setHeader(Cache-Control

html:link - How to avoid the browser cache

2002-08-19 Thread marcio . miranda
Hi, Is there a way to avoid getting the response from the browser cache when using the tag html:link. Some tag libraries provide an attribute to add a unique parameter (some random value) in the URL request. This is a workaround that prevents the browser from finding a page in the cache

Cache Problems - Action Class Problems...

2002-05-23 Thread Tom Brunner
Hi all, Quick problem that has me extremely confused. I don't want to just not cache some pages in my application bc I want a user to be able to move back and forth in IE and not get annoyed bc they can't use the back button. My problem is that when a user logs out of my application my and logs

Websphere cache error when reloading an expired JSP page

2002-02-25 Thread Murali Srinivasan
In one of our responses we set the No-Cache and Pragma headers so that the resulting JSP page is not cached. While on the subsequent page if the user hits the back button, the browser correctly responds with the Web page expired in IE 5.5 and Data missing in Netscape 4.6. However, if the user

Setting Poolman to not cache everything...

2002-01-02 Thread wbchmura
Is there a way to tell poolman not to cache everything? For example, in my app it is caching some queries that I do not want it to cache. While I can eliminate that all together I still want it to cache other queries... Do I create two pools and set one to not cache? TIA Bill Chmura

Re: no cache = false

2001-12-18 Thread Erich Meier
On Sat, Dec 15, 2001 at 09:26:33PM -0600, Kiet Nguyen wrote: I don't want the browser to cache any of my jsp pages, so I set nocache = false in web.xml file. This works, but when i click the back button on the browser, the page is expired. I want the back button and the browser to request

no cache = false

2001-12-15 Thread Kiet Nguyen
I don't want the browser to cache any of my jsp pages, so I set nocache = false in web.xml file. This works, but when i click the back button on the browser, the page is expired. I want the back button and the browser to request for new page every time (even when the browser has set Never check

Browser cache

2001-12-06 Thread Kiet Nguyen
When the browser has cache on (Never check for new version of the store page), the follow code does not submit the form. I think it is because it is a link. html:link href=javascript:cancelOrSubmit('workOrderSubmitOrder.do','Your order will be submitted for broadcast distribution. Do you want

Cache reload

2001-06-28 Thread Zeltser, Mark
Hello, I need to have my cache refreshed every hour. I extended ActionServlet and overwrote init() method, adding function to initialize and refresh cache. I am using Timer class for refreshing Cache class. Can this cause any problems with servlet containers? What is the right technique to do

What is a good design or idea or utility to create a cache collection of N number of elements Least Recently Used?

2001-05-12 Thread Vic Cekvenich
What is a good design or idea or utility to create a cache collection of N number of elements Least Recently Used? Say a hash map with synchronized get and put, that would track LRU and lock at the element level? Must be of fixed size and work at element level. Suggestion please

RE: how to cache lists?

2001-04-20 Thread Flying Cloud
Have you looked at the Expresso caching at www.jcorporate.com ? Sandra

how to cache lists?

2001-04-17 Thread Alex Colic
Hi, Lets say you have a web app that runs over a number of web pages in a wizard fashion. On each one of these pages you need to present the user with a select box holding lists. e.g. locations, cities, etc. This data is read from a database and rarely changes. How would you cache these lists

Re: how to cache lists?

2001-04-17 Thread Paul Tindall
ot; [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 8:34 AM Subject: RE: how to cache lists? Alex, It is a good idea from a developers point of view. But when U say this to an IT manager and also tell him that U have to restart the webserver when ever new data is add

Re: how to cache lists?

2001-04-17 Thread Chris Butler
changes. How would you cache these lists so that as each user access this site they do not need to have this info downloaded again? you could have a singleton data storage class that dumps the country list into a hashmap. if the country cache existed, the class would return the list from

RE: how to cache lists?

2001-04-17 Thread Greg Reddin
: RE: how to cache lists? Alex, It is a good idea from a developers point of view. But when U say this to an IT manager and also tell him that U have to restart the webserver when ever new data is added, he/she will not allow U to do that. I faced the same situation but gave up on the idea

RE: how to cache lists?

2001-04-17 Thread Greg Reddin
The above approach is fine if you want to have cache within a single application. If you want to have the same cached data accessible to different web applications, you can use a Startup class like what Weblogic provides. You can have your cached data as instance variables of your startup

RE: how to cache lists?

2001-04-17 Thread Nanduri, Amarnath
Message- From: Greg Reddin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 9:46 AM To: [EMAIL PROTECTED] Subject: RE: how to cache lists? You could store the data in Application context as you've stated, but provide a mechanism for that data to be refreshed (either automatically

RE: how to cache lists?

2001-04-17 Thread Menno M Jansz
lto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 9:46 AM To: [EMAIL PROTECTED] Subject: RE: how to cache lists? You could store the data in Application context as you've stated, but provide a mechanism for that data to be refreshed (either automatically or manually) without restarting the

Url Rewrting and Cache problems

2001-04-11 Thread James Maggs
Hi There, I am developing my new website using struts and have found it to be excellent. I use tomcat in stand-alone mode during development but on deploying the web application to my web server I am experiancing a few problems which I hope you learned fellows might be able to help me with.

RE: Url Rewrting and Cache problems

2001-04-11 Thread See Yam Lim
Title: RE: Url Rewrting and Cache problems Hey James, Do you know beside changing the LinkTag code which write out the jsessionid, can i configure; say turn on or off with URL rewriting (jsessionid) without any code is changed? Thanks in advance! David Lim -Original Message

Re: Url Rewrting and Cache problems

2001-04-11 Thread James Maggs
Title: RE: Url Rewrting and Cache problems I'm not sure. If you turn off the session rewriting without enabling cookies then this will cause problems for the struts engine. I think features like the message internationalisation rely on the session info. Hope this helps, -James

Re: Url Rewrting and Cache problems

2001-04-11 Thread James Maggs
Further to my previous email, the caching in IE is becoming beyond a joke. The browser seems to just pick files at random from the cache when it displays a page. In response to a request for the root index.jsp file for my site it returned the source of an external javascript file linked

RE: Url Rewrting and Cache problems

2001-04-11 Thread Nishit Trivedi
i think this is solution for all browsers... use meta tag in html for pragma no-cache and also use response.setHeader("Pragma","no-cache") from server side.. this should work for IE also.. Nishit -Original Message- From: James Maggs [mailto:[EMAIL PROTECTED]] Sent:

RE: Url Rewrting and Cache problems

2001-04-11 Thread Nanduri, Amarnath
To: '[EMAIL PROTECTED]' Subject: RE: Url Rewrting and Cache problems i think this is solution for all browsers... use meta tag in html for pragma no-cache and also use response.setHeader("Pragma","no-cache") from server side.. this should work for IE also.. Nishit -

  1   2   >