I need my URL to look like this:

http://localhost/Gillette/Venus?SerialId=ZVXZV&ContactId=1
where Gillette is a directory and Venus is the servlet name.  I can only
get it to work if I include 'servlet' like the following:

http://localhost/Gillette/servlet/Venus?SerialId=ZVXZV&ContactId=1

I've got a few good responses in previous postings but haven't been able to
get it to work.  Here is some configurations....can anybody tell me what
I'm doing wrong?

server.xml:
<Context path="/Gillette" docBase="webapps/Gillette" crossContext="false"
debug="0" reloadable="true" ></Context>

web.xml:
    <servlet>
        <servlet-name>Venus</servlet-name>
        <servlet-class>GVservlet</servlet-class>
    </servlet>

    <servlet-mapping>
      <servlet-name>Venus</servlet-name>
      <url-pattern>/Venus</url-pattern>
    </servlet-mapping>

I've tried it with and without the servlet-mapping tag.  Any ideas?


Jason E. Brawner

Reply via email to