File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Tomcat, IIS, and Servlet Parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat, IIS, and Servlet Parameters" Watch "Tomcat, IIS, and Servlet Parameters" New topic
Author

Tomcat, IIS, and Servlet Parameters

Elisabeth Van
Ranch Hand

Joined: Feb 09, 2001
Posts: 42
I've got the Tomcat isapi_redirect.dll set up on my IIS webserver so that I can run servlets. Servlets work just fine and dandy until I try reading in parameters.
When testing on Tomcat alone, on my PC, worked great by setting the parameters for the servlet in the Web.xml file in the WEB-INF directory. But when I put it on the server running IIS with Tomcat, it doesn't work.
My guess is that the parameters are trying to get read from a different directory. Anyone know where the Web.xml file with the parameters needs to be?
Elisabeth Van
Ranch Hand

Joined: Feb 09, 2001
Posts: 42
Never mind, I figured out the problem. All was well with the Web.xml file. You do indeed set parameters in the Web.xml file in the WEB-INF directory.
Turns out the problem was just an ID ten T (ID10T) error.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat, IIS, and Servlet Parameters