Hi
i think i have a newbee problem ...
i use Tomcat 4.1.10, Apache 2 and mod_jk2
my browser put jsp file in its cache ...
a simple file test.jsp wich contains only :
<%= new java.util.Date() %>
retry
every "retry" give the same date ...
what the mistake ?
tks
Hi gurus!
That was my situation:
I'm using Apache 1.3.19 with Tomcat 3.2.1 and mod_jk
I had a context named "report" within the report directory and a file named
esql.xml and it workwed fine.
Then, I changed the structure of the esql.xml file in order to alter the
result of the query.
But, despi
Hi,
I asked before but it's really driving me crazy so I 'll ask again.
I removed my application and I installed it again, I even deleted files and
put them again .. nothing works. I have doubled checked and it's not my browser's
cache problem . It has to do with the se
When I start up catalina i get a lot of jar_cache in my temp folder does
anyone know why and/or how to fix it. Thanks
gr
Do you know about the //work folder?
This is where the compiled JSPs are stored.
Andoni.
- Original Message -
From: "Manolis Mavrikis" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 11:36 AM
Subject: cac
he compiled JSPs are stored.
>
>
> Andoni.
>
>
> - Original Message -
> From: "Manolis Mavrikis" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, March 07, 2003 11:36 AM
> Subject: cache problem
&
Hi,
I am new in the list, I tried to make a search on the subject in the previous mails of
the list, however I could not find where to do it. So, apologies if the problem is
addressed before.
I have a cahce problem in the following working environment:
redhat linux 9.0
jakarta tomcat 4.1.27
Hi,
I am using Tomcat + Apache
Why I always need to restart tomcat to get my latest result after I make
change of my Servlet program ? Is it tomcat cache the program ? If so, how
can I turn the cache off ?
It never happened when i use Jserv+Apache before. Thanks
/* Kenny Ma
[EMAIL PROTECT
Hi,
with the code below I can get netscape not to cache a jsp page but it
does not work with Internet-Explorer.
Does anybody know why?
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");\
Zsolt
--
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Del
Hi,
I have tomcat 4.1.18le, jdk 141. I deploy my web-app to /webapps/mywebapp,
and set the context in conf/server.xml to :
..then I start tomcat and browse to http://localhost, I get a "resource '/'
unavailable" error, but if I browse to http://localhost/mywebapp which
displays the index page
[mailto:[EMAIL PROTECTED]
Sent: 26 December 2003 8:48 PM
To: [EMAIL PROTECTED]
Subject: tomcat cache problem
Hi,
I am new in the list, I tried to make a search on the subject in the
previous mails of the list, however I could not find where to do it. So,
apologies if the problem is addressed before.
I
Hello
For a couple of days now I am trying to solve this problem and I have no
idea what is going on.I can not get my servlet to display changes I make in
it.The cached copy is being displaide whatever I try.I even remove the class
from the application directory and I also remove instalation b
Hello
For a couple of days now I am trying to solve this problem and I have no
idea what is going on.I can not get my servlet to display changes I make in
it.The cached copy is being displaide whatever I try.I even remove the class
from the application directory and I also remove instalation b
Subject: JSP Cache problem in tomcat
From: "Simon Li" <[EMAIL PROTECTED]>
===
Dear all,
i run JDk1.3.01 and tomcat 4.01 on http connector on port 8080.
I have discovered a quite weird (?) behaviour of tomcat:
Say,
PageA is my JSp page
classB is a class i will use in PageA .
Dear Kenny,
Check if reloadable is true for ur application in Server.xml file.
cheers
asheesh
- Original Message -
From: Kenny Ma <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 14, 2001 9:38 AM
Subject: Help ~ Tomcat cache problem
> Hi,
>
From: Kenny Ma <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 14, 2001 9:38 AM
> Subject: Help ~ Tomcat cache problem
>
> > Hi,
> > I am using Tomcat + Apache
> >
> > Why I always need to restart tomcat to get my latest result af
le is true for ur application in Server.xml file.
> >
> > > reloadable="true" >
> >
> >
> > cheers
> > asheesh
> >
> > - Original Message -
> > From: Kenny Ma <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]&g
IL PROTECTED]
> Subject: Re: Help ~ Tomcat cache problem
>
> Deaar Kenny,
> could you solve the problem. If yes, please tell me how!
> Peter
>
> > Ok, thanks
> > i try to add this into server.xml
> >
> > is it add between
> >
>
> > >
> > > cheers
> > > asheesh
> > >
> > > - Original Message -
> > > From: Kenny Ma <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, September 14, 2001 9:38 AM
> > > Subject: Help ~
-Original Message-
From: Kenny Ma [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 12:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Help ~ Tomcat cache problem
I cant solve ~~
Anyone can solve this problem
seems this is a big problem to many people
Here is an excerpt from a
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> Hi,
>
> with the code below I can get netscape not to cache a jsp page but it
> does not work with Internet-Explorer.
> Does anybody know why?
>
>
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");\
Mac, or P
ol settings are
there to stop intermediate caches from falsely reporting a page as not
having changed.
Duncan.
> -Original Message-
> From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2001 16:13
> To: [EMAIL PROTECTED]
> Subject: Cache problem with IE
>
&g
I have the problem under Windows (I don't have Mac).
My goal is: when the user just comes back to a (JSP) page I want the
page executed again to show up to date information.
Joe Laffey wrote:
>
> On Tue, 13 Mar 2001, Zsolt Koppany wrote:
>
> > Hi,
> >
> > with the code below I can get netscape
You could try having the JSP set its modified time to 'now', using a
java.util.Calendar object. That should cause the cache on the browser to
retrieve an updated copy of the page. I don't recall how to do this in
JSP land, but servlets do it by implementing getLastModified(), derived
from HttpServ
CTED]]
> Sent: 13 March 2001 16:25
> To: '[EMAIL PROTECTED]'
> Subject: RE: Cache problem with IE
>
>
> I'm sure someone will jump on this from a great height if I'm
> wrong, but I
> seem to recall that the cache settings are for intermediate
13 March 2001 16:47
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
You could try having the JSP set its modified time to 'now', using a
java.util.Calendar object. That should cause the cache on the browser to
retrieve an updated copy of the page. I don't recall how to do t
e.
>
> Dave.
> [EMAIL PROTECTED]
>
> -Original Message-
> From: Roby Gamboa [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2001 16:47
> To: [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
> You could try having the JSP set its modified time to 'now
sponse specifies HTTP/1.1.
>
> - Chris.
>
> > -Original Message-
> > From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 16:25
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Cache problem with IE
> >
> >
> > I
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> No, there is no proxy, everything runs in a simple LAN.
You can also try adding the following at the top of your HTML document:
(in the )
Though I don't know why it wouldn't work from the servlet. Have you tried
telnetting to your box and issuing an
browsers, and Cache-Control will only be used if
> the response specifies HTTP/1.1.
>
> - Chris.
>
> > -Original Message-
> > From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 16:25
> > To: '[EMAIL PROTECTED]'
>
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
I have the problem under Windows (I don't have Mac).
My goal is: when the user just comes back to a (JSP) page I want the
You could try outputting this header.
Failing that just tack a random number ( System.currentTimeMillis() ) onto
each URL to guarentee uniqueness.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [E
m: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
>
> I have tried 'no-store' and 'must-revalidate' but none of them helped.
>
>
> Christopher Kirk wr
I do it from a JSP and not from a servlet and the page look like:
<%response.setHeader("Cache-Control",
"no-cache");response.setHeader("Pragma", "no-cache");%>
Joe Laffey wrote:
>
> On Tue, 13 Mar 2001, Zsolt Koppany wrote:
>
> > No, there is no proxy, everything runs in a simple LAN.
>
Zsolt Koppany
Gesendet: Dienstag, 13. März 2001 17:32
An: [EMAIL PROTECTED]
Betreff: Re: Cache problem with IE
I have the problem under Windows (I don't have Mac).
My goal is: when the user just comes back to a (JSP) page I want the
page executed again to show up to date information.
Joe Laffey
In looking over the HTTP/1.1 spec, the header to set is 'Last-Modified'. In
the spec documentation, though, they state that there's 60 seconds of slop
allowed, in the event that the browser and server clocks are out of sync.
Still, they say that if the cached copy differs from the server copy by t
ndler like
> onLoad that reloads the page.
>
> If its the first case, continue to read the other posts in this
> thread.
>
> Randy
>
> -Original Message-
> From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 11:32 A
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> I do it from a JSP and not from a servlet and the page look like:
>
> <%response.setHeader("Cache-Control",
> "no-cache");response.setHeader("Pragma", "no-cache");%>
OK,
Try telnetting to your box and issue the HTTP command:
GET / HTTP/1.0
(two retu
orward (but you need to
check the exact name of the handlers, my JavaScript book isn't at my desk
right now).
Randy
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");
I have always also used the expires header for dynamic pages.
My understanding is that this is the only header used by caching proxies for
determining whether or not to cache a page (aside from
get
just to check, you are setting the response
> to HTTP/1.1? Pragma was
> > never consistent between browsers, and
> Cache-Control will only be used if
> > the response specifies HTTP/1.1.
> >
> > - Chris.
> >
> > > -Original Message-
, you are setting the response
> > to HTTP/1.1? Pragma was
> > > never consistent between browsers, and
> > Cache-Control will only be used if
> > > the response specifies HTTP/1.1.
> > >
> > > - Chris.
> > >
> > > > -Original Message-
>
On Tue, 13 Mar 2001 17:13:14 +0100, Zsolt Koppany wrote:
>Hi,
>
>with the code below I can get netscape not to cache a jsp page but it
>does not work with Internet-Explorer.
>Does anybody know why?
>
>
>response.setHeader("Cache-Control", "no-cache");
>response.setHeader("Pragma", "no-cache");\
>
Hi,
AFAIL, this doesn't work with some IE versions(5 and above I think) the
problem is caused because IE5+ decides whether it wonts to cache the
page if the page is greater than 32k. So, when it decides that the page
has to be cached, the headers have been long ago forgotten :(. The
solution in o
> Hitting the same problem we used at
> http://www.mavicanet.com
> and it works both on NS and IE!
>
> response.setHeader("Pragma","no-cache");
> response.setHeader("Cache-Control","no-cache");
> response.setHeader("Expires","Thu, 01 Dec 1994
> 16:00:0
Hello,
Could somebody tell me please,
how can i set HTTP/1.1 instead of 1.0
regards.
- Original Message -
From: "Joe Laffey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 7:41 PM
Subject: Re: Cache problem with IE
> On Tue, 1
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:Re: Cache problem with IE
Hello,
Could somebody tell me please,
how can i set HTTP/1.1 instead of 1.0
regards.
- Original Message -
From: "Joe Laffey&quo
agma",
"no-cache");
It's working fine for me.
IE5, NN4.7 on Win 98, Tomcat
Regards,
Manish
- Original Message -
From:
Zsolt Koppany
To: [EMAIL PROTECTED]
Sent: Tuesday, March 13, 2001 9:43
PM
Subject: Cache problem with IE
Hi,with the code
nt in
development.
Randy
> -Original Message-
> From: josé placide [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 6:29 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
>
> Hello,
>
>
> Could so
>
> > -Original Message-
> > From: josé placide [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 14, 2001 6:29 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Cache problem with IE
> >
> >
> > Hello,
>
OUF !!!
The config win2k + Tomcat3.2 + Jbuilder 4
in tomcat 3.2 folder's there is some examples how show how to do !
it's ugly,but it work!
Merci a tous,merci thomas
>From SessionExample.java :
out.println("");
out.println("");
out.println("");
String title = "sessions.title";
out.println("
Now it seems that my £*^%£ server is caching applets as well...
There is no logical explanation !
there is nothing under \work ... nothing on the browser (I even access
it from newly installed windows)
I can't understand how for months now I was able to do (even small) changes in
applets and on
CTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: Cache problem URGENT HELP
>Date: Tue, 5 Dec 2000 10:41:06 +0100
>
>Hi!
>
>Have you tried to restart tomcat?
>
>Tomcat (3.1+) only reloads classes in the WEB-INF directory if the
>appli
ent: Tuesday, December 05, 2000 10:28 AM
Subject: Cache problem URGENT HELP
> Hello
>
> For a couple of days now I am trying to solve this problem and I have no
> idea what is going on.I can not get my servlet to display changes I make in
> it.The cached copy is being displaide w
Title: RE: Cache problem URGENT HELP
If you are using a package enter the full package's name. For instance if you are using my.package.myClass this must be inside the WEB-INF/classes/my/package/myClass. Alse check the web.xml file in the WEB-INF subdirectory that contains the right se
Hello
Thanks for the suggestions.I do not use packeges and web.xml looks fine to
me.
Cheers
>From: Panagiotis Konstantinidis <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: Cache prob
ys it when it starts??
- Original Message -
From: "Vanja Vlaski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 10:55 AM
Subject: Re: Cache problem URGENT HELP
> Yes I did!I even delete the instalation and installed the new one
You are not restarting Tomcat are you???
My guess is (feel free to correct me when i'm wrong) that when you change
class B and not Page A
then the old class B is still loaded by the current classloader so the old
class B is still cached by the classloader and therefor the old reference
ist still
>>
>> > -Original Message-
>> > From: josé placide [mailto:[EMAIL PROTECTED]]
>> > Sent: Wednesday, March 14, 2001 6:29 PM
>> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>> > Subject: Re: Cache problem with IE
>> >
>> >
59 matches
Mail list logo