Servlet invoker and web.xml problem, please help

From: YourFriend (yourfriend_at_usa.com)
Date: 12/31/03


Date: Wed, 31 Dec 2003 11:06:41 +0800

I am not sure about function of servlet invoker on $TOMCAT/conf/web.xml
and web.xml on /WEB-INF

If I have setup the servlet invoker on $TOMCAT/conf/web.xml, so I don't have
type full path of servlet program on html program.

this html program is save on html/message.html

<html>
 <head>
  <title>Message</title>
 </head>

 <body>
  <form action="../servlet/Test1" method="post">
  <font size="3"><B>Test Send a message</B></font><BR><BR>
   Title: <input type="text" name="aName" size="20"><br><br>
      Message:<br>
   <textarea name="aText" rows="5" cols="30" wrap="hard"></textarea><br><br>

            <input type="submit" value="Send message to other servlet"><br>
            <font color="#0000FF">
    <input type="reset" value="Reset All">
         </font>
  </form>
    </body>
</html>

The following is my /WEB-INF/web.xml

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN"
                         "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
  <servlet-name>Test1</servlet-name>
  <servlet-class>com.ShowRequestHeaders</servlet-class>
 </servlet>
</web-app>

If I don't want setup servlet invoker on $TOMCAT/conf/web.xml, how can I do
?