If it followss Servlet 2.2 spec .. Tomcat is 100 % spec compstible ..
I do not have knowledges of Lotus Domino Servlet engine..
Sri
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Lokesh Aggarwal
Sent: Sunday, September 17, 2000 9:12 PM
To: [EMAIL PROTECTED]
Subject: Re: how to access the new changed file in servlet
Sri:
But isnt that specific to JVM implementation of tomcat.?
Does the auto-reloading of class files work if u use a servlet engine
extension to a typical web server? e.g. You need to restart the Http task
of Lotus Domino Server if u are using it as a web server.
Lokesh
Srikrishnan
Lakshmanan To:
[EMAIL PROTECTED]
<[EMAIL PROTECTED]> cc:
Sent by: "A mailing Subject: Re: how to
access the new changed file in servlet
list for discussion
about Sun
Microsystem's Java
Servlet API
Technology."
<SERVLET-INTEREST@jav
a.sun.com>
09/16/00 09:04 PM
Please respond to "A
mailing list for
discussion about Sun
Microsystem's Java
Servlet API
Technology."
With the Servlet 2.2 spec , changes in class files are detected
automatically and the servlet engine reloads them without having to be
restarted . The latest version of Tomcat does this. I have personal
knowledge of that. Caveat:
The classes should not be in the classpath used by tomcat iteself.They
should be in the "context" class directory.
Library jar files are also not re-loaded ( even when present in the
"contect" lib directory.)
Other than above two caveat , it works on the fly.
Sri
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Shital Kanitkar
Sent: Saturday, September 16, 2000 1:16 PM
To: [EMAIL PROTECTED]
Subject: Re: how to access the new changed file in servlet
You are right. I stand corrected. :-)
----- Original Message -----
From: Lokesh Aggarwal <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 16, 2000 10:53 AM
Subject: Re: how to access the new changed file in servlet
> Shital:
>
> I would like to differ with u.
> Its not the browser but the Servlet engine of the web server which
caches
> the servlet class files. Hence either u need to restart the web server or
> write an extension to the JVM instructing it to reload the file if its
> time-stamp is different from the file which is in memory.
>
> Lokesh
>
>
>
> Shital Kanitkar
> <[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
> > cc:
> Sent by: "A mailing Subject: Re: how to
access the new changed file in servlet
> list for discussion
> about Sun
> Microsystem's Java
> Servlet API
> Technology."
> <SERVLET-INTEREST@jav
> a.sun.com>
>
>
> 09/16/00 01:18 PM
> Please respond to "A
> mailing list for
> discussion about Sun
> Microsystem's Java
> Servlet API
> Technology."
>
>
>
>
>
> Your browser generally retains the old class file. close the browser and
> re-start it.
>
> -Shital
> ----- Original Message -----
> From: mahadeva mahesh <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, September 14, 2000 12:06 PM
> Subject: how to access the new changed file in servlet
>
>
> > Hi all ,
> > Sorry for asking a simple question . My class file
> > is in the servlets directory . I will access it by
> > calling it thru "http://localhost:8080/servlet/Hello"
> > .
> > Now I will change the java file , compile it and now
> > replace the old Hello.class file in the servlets
> > directory . If i call now thru the browser , it is
> > actually displaying the old results , means it
> > executes the old class file not the changed one . Now
> > the question is - how to make the browser to call the
> > new class file .
> >
> > thanks ,
> > Mahesh
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com/
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html