Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replace http://marc.theaimsgroup.com/ with http://marc.info/

...

If so, here are some solutions:

...

Using /servlet/ to map servlets is evil, absolutely evil. Even more evil than this . That being said, here are some threads that may answer this:

Anchor
Q3
Q3
Why is the invoker evil?

...

No. It was an experiment, it failed. (YMMV) The original purpose of LE "light" edition of Tomcat 4.0, 4.1 was because jdk1.4 provides a LOT of standard functionality that Tomcat uses that was not in jdk1.3. So to save some space two distributions were made to save some bandwidth. Since then, it has been an exercise in confusion. (Flame me if you disagree) More info

Anchor
Q8
Q8
How do I configure Tomcat to NOT to store the sessions during shutdown?

...

No! Nor can one accurately exist. Here's why

Anchor
Q11
Q11
How do I change the welcome file? ( I want to show index.jsp instead of index.html)

This is done in web.xml by changing welcome-files-list. More detail.

Anchor
Q12
Q12
How do I enable/disable directory listings?

...

You'll need to tweak with server.xml and do this. (Don't worry - its really easy!) Update: you should be worried – this feature has its drawbacks.

...

Tomcat does not support this directly. Its not part of the Servlet or JSP Specification. If you do need this functionality see this thread or this link.

Anchor
Q18
Q18
What is Element "web-app" does not allow "servlet" here?

...