Re: Refreshing problems with Tomcat

2004-10-28 Thread Nic Ferrier
Johan Hahn <[EMAIL PROTECTED]> writes: > Cristian D. Romanescu wrote: > > I think your problem is yer browser, especially if it's IE. > > IE has this nasty habit of caching images and not checking that > > in the mean time has changed, try a decent browser. > > Yes, he could also try telnet:ing to

Re: Refreshing problems with Tomcat

2004-10-28 Thread Nic Ferrier
Johan Hahn <[EMAIL PROTECTED]> writes: > * Hi all!! Sorry to hear you are thinking of unsubbing Nic! There will be a fanfare when I finally go I think. I do intend to go out with a bang. Or maybe a whimper. I haven't decided yet. -- Nic Ferrier http://www.tapsellferrier.co.uk __

Re: Refreshing problems with Tomcat

2004-10-28 Thread Johan Hahn
Cristian D. Romanescu wrote: > I think your problem is yer browser, especially if it's IE. > IE has this nasty habit of caching images and not checking that > in the mean time has changed, try a decent browser. Yes, he could also try telnet:ing to port 80 on the server and make a couple of manual

Re: Refreshing problems with Tomcat

2004-10-28 Thread Johan Hahn
I apology for the ugly formatting and the abrupt end to my previous post (first to this group*). I mistakenly pressed ctrl+s (send) instead of ctrl+v (paste) which caused my mail to be sent before I had finished it. Here is the full version: * Hi all!! Sorry to hear you are thinking of unsubbing

Re: Refreshing problems with Tomcat

2004-10-27 Thread Mr. Cristian D. Romanescu
I think your problem is yer browser, especially if it's IE. IE has this nasty habit of caching images and not checking that in the mean time has changed, try a decent browser. I am very certain that this has got nothing 2 do with tomcat/servlet. c. Martin Lew wrote: << Oh dear. Didn't you say you w

Re: Refreshing problems with Tomcat

2004-10-27 Thread Nic Ferrier
Martin Lew <[EMAIL PROTECTED]> writes: > << > Oh dear. Didn't you say you were having trouble with the image? > >> > > Like I said clearly in the first message, I have my image correctly the > first time so the problem is not the image generation but the cache of > Tomcat. I tested all with Firefo

Re: Refreshing problems with Tomcat

2004-10-27 Thread Johan Hahn
> Ok, here the code for the servlet that generates HTML: [snip] I noticed that you have a quite common misconception about what servlets are. A servlet should generally not have any member variables, only local variables that are passed between methods. (I'm talking about pageHtml, selectedLang

Re: Refreshing problems with Tomcat

2004-10-27 Thread Martin Lew
<< Oh dear. Didn't you say you were having trouble with the image? >> Like I said clearly in the first message, I have my image correctly the first time so the problem is not the image generation but the cache of Tomcat. I tested all with Firefox and I'm sure that is not Apache or any browser the

Re: Refreshing problems with Tomcat

2004-10-27 Thread Nic Ferrier
Martin Lew <[EMAIL PROTECTED]> writes: > Ok, here the code for the servlet that generates HTML: Oh dear. Didn't you say you were having trouble with the image? It's the image servlet that we need to see if we are to help fix your problem. Some general things you could try: - check the headers

Re: Refreshing problems with Tomcat

2004-10-27 Thread Martin Lew
Ok, here the code for the servlet that generates HTML: package simple_chart_view; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.Enumeration; /** * Title: * Description: * Copyright: Copyright (c) 2004 * Company: * @author not attributable * @ver

Re: Refreshing problems with Tomcat

2004-10-27 Thread Nic Ferrier
Martin Lew <[EMAIL PROTECTED]> writes: > Ok, need more information ? No. Not more information. I want to see some source code. > I call a first servlet that generate html code. > In this html code, I have a tag tag that generates and send an image (PNG). > Everything goes well for the first t

Re: Refreshing problems with Tomcat

2004-10-27 Thread Martin Lew
Ok, need more information ? I call a first servlet that generate html code. In this html code, I have a tag wrote: >Martin Lew <[EMAIL PROTECTED]> writes: > >> I'm searching for a solution for a refreshing problem with Tomcat. Does >> anybody know how to configure the cache in Tomcat (version 4

Re: Refreshing problems with Tomcat

2004-10-27 Thread Nic Ferrier
Martin Lew <[EMAIL PROTECTED]> writes: > I'm searching for a solution for a refreshing problem with Tomcat. Does > anybody know how to configure the cache in Tomcat (version 4) ? > > I read a lot about the problem and servlet were not refreshed correctly > after the first time, I have always the s

Refreshing problems with Tomcat

2004-10-27 Thread Martin Lew
I'm searching for a solution for a refreshing problem with Tomcat. Does anybody know how to configure the cache in Tomcat (version 4) ? I read a lot about the problem and servlet were not refreshed correctly after the first time, I have always the same old page. I did testing and I read from many