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
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
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
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
. 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
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
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
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
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
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
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
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
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
, 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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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!
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
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
/
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
-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
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
-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
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
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
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
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
:
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
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
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
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
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
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]
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
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
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
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
();
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
:[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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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
Have you looked at the Expresso caching at www.jcorporate.com ?
Sandra
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
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
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?
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
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
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
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
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.
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
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
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
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:
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 - 100 of 103 matches
Mail list logo