Brett,
I recently migrated from JServ to Tomcat as well. The migration was
smooth, and I'm now working with the latest servlet spec... but I found
JServ to be more stable.
Anyway... to answer your question, try putting the following in your
web.xml file:
<servlet>
<servlet-name>CallClient</servlet-name>
<servlet-class>com.company.clients.commpilot.servlets.CallClient</servle
t-class>
</servlet>
<servlet-mapping>
<servlet-name>CallClient</servlet-name>
<url-pattern>/CallClient</url-pattern>
</servlet-mapping>
In general, the "Java Servlet Specification" is a good reference for the
format of the web.xml file.
good luck,
-Duck
-----Original Message-----
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 9:34 AM
To: [EMAIL PROTECTED]
Subject: More on JServ to Tomcat
In my JServ properties file, there is a section on servlet aliasing,
like
this:
servlet.CallClient.code=com.company.clients.commpilot.servlets.CallClien
t
Does anyone know if this the same as the servlet mapping statement in
the web.xml file? If not, what would be the equivalent?
-- Brett
http://www.chapelperilous.net/~bmccoy/
------------------------------------------------------------------------
---
We really don't have any enemies. It's just that some of our best
friends are trying to kill us.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]