R
R. Vince
I am running Tomcat 5.5 on a WinXP machine and it runs flawlessly. I have
the invoker servlet turned on via conf/web.xml with:
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
(I know, I know...you shouldn't use invoker in real applicaitons, only for
development!), so for the actual servlet I am running I do not have anything
particular I have places in WEB-INF/web.xml.
Thats the setup but, I recently put a timer into the main servlet I am
running. Whereas before I used to simply have
WEB-INF/classes/myservlet.class I know have
WEB-INF/classes/myservlet$1.class.
My question therefore is, given the configuration I described (with invoker
servlet) can I expect this to run properly, or must I put myservlet.class
and myservlet$1.class into a jar, and put that into WEB-INF/lib (and if so,
would the invoker servlet still invoke it automatically?).
TIA, R. Vince
the invoker servlet turned on via conf/web.xml with:
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
(I know, I know...you shouldn't use invoker in real applicaitons, only for
development!), so for the actual servlet I am running I do not have anything
particular I have places in WEB-INF/web.xml.
Thats the setup but, I recently put a timer into the main servlet I am
running. Whereas before I used to simply have
WEB-INF/classes/myservlet.class I know have
WEB-INF/classes/myservlet$1.class.
My question therefore is, given the configuration I described (with invoker
servlet) can I expect this to run properly, or must I put myservlet.class
and myservlet$1.class into a jar, and put that into WEB-INF/lib (and if so,
would the invoker servlet still invoke it automatically?).
TIA, R. Vince