*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
ServletConfig getInitParameter() ????
Tomcat 3.3, can webapps be loacated somewhere else?
How to configure IIS with Tomcat
How to run a servlet using Tomcat?
Tomcat 6.0.26 & IIS 7.0 - 404 - File or directory not found