yeah funny,
it does work in 3 with "RELOAD NOW!!" is the only indication of a
classloader reload.
although i have found in 4 it only works with classes being updated in the
WEB-INF classes dir and not with jars in the WEB-INF lib dir. if you set
debug to 99 in the web.xml file you should get a more obtruse indication of
reloading in 4.x. i use the javac -d ${MYDIR}WEB-INF\classes and it works
fine.. I thought it didn't work earlier because I was using jars in the lib
directory.. I looked through the code but made no real conclusion as to why
this was the case the jars are checked also every 15(1.5)?? seconds.. hope
this helps!
regards,
warren.
-----Original Message-----
From: Mark Mynsted [mailto:[EMAIL PROTECTED]]
Sent: Friday, 18 May 2001 9:08 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Has anybody resolved no-refresh of servlets?
So are you saying the only version of tomcat where this works reliably is in
the new 4.x betas?
Sincerely yours;
Mark Mynsted
VHA Management Information Systems Client Services
[EMAIL PROTECTED]
(972) 830 - 0592, Internal x1592
>>> [EMAIL PROTECTED] 5/17/2001 4:51:03 PM >>>
Mazur wrote:
> Actually, I wouldn't mind seeing an answer to this one as I still have
> not been able to get my servlets to reload even when setting the
> reloadable flag to true.
>
> If anyone waats to offer up an answer to Mark's post, I'm listening!
> :-)
>
> Rob
> [...]
Hi :-) from several emails and my work, TC4.0b1 and TC4.0b5 can
auto-reload the Servlet class which is:
- a class file(not a jar file)
- in WEB-INF/classes(not in WEB-INF/lib)
- reloadable="true"
have a nice day :-)
Bo
May.17, 2001