Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Tomcat, IIS, and Servlet Parameters

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic