tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Grady" <...@majure.com>
Subject Re: servlet confusion...
Date Mon, 20 Mar 2000 19:10:50 GMT
I believe that 3.1 supports reloading of servlets.

-Mike

From: Ken Grigg <ken.grigg@amikanow.com>
> I found that the canned web.xml worked fine for my configuration
> (Tomcat 3.0, Apache 1.3.9, RH Linux 6.1).  What made the difference
> for me was stopping and restarting Tomcat whenever a servlet is
> added or changed.
>
> Is this always going to be the case, or will Tomcat eventually be
> able to dynamically find new or updated classes?
>
> Thanks... Ken.
>
> -----Original Message-----
> From: Mike Grady [mailto:msg@majure.com]
> Sent: Monday, March 20, 2000 10:41 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: servlet confusion...
>
>
> From: Ron Forrester <rjf@zero-ping.com>
> > Okay, so I took the IsItWorking.java example from the JServ dist,
> > compiled it against the tomcat libs (i.e. servlet.jar), and copied the
> > .java and .class files into WEB-INF/classes.
> >
> > All other configuration is the same, canned, tomcat-apache defaults:
> >
> > My question is, how do I run the IsItWorking servlet?
> >
> > I tried various URL's and always got a file not found.
>
> I believe the URL you have to use is <web-app>/servlet/<servlet-name>/.
> So if you put your test servlet under the "examples" directory, you
> would have to use ".../examples/servlet/IsItWorking/".
>
> > I am currently reading the 2.2 spec to see if there is something
> > specific I need to change in the web.xml.
> >
>
> You also need to update the web.xml file under the
> examples/WEB-INF directory in order to access this servlet.
> Adding code like this should do the trick...
>
>  <servlet>
>       <servlet-name>
>           IsItWorking
>       </servlet-name>
>       <servlet-class>
>           IsItWorking
>       </servlet-class>
>     </servlet>
>
>
> -Mike
>
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>


Mime
View raw message