please see my comments bellow

thanks

andy

--- QM <[EMAIL PROTECTED]> wrote:

> On Sun, Oct 17, 2004 at 09:23:09AM -0700, andy
> davidson wrote:


> 
> : Here is my test. I created servlet
> foo.bar.bazServlet.
> : I installed it under webapps/baz. I created
> <servlet>
> : tags in webapps/baz/WEB-INF/web.xml
> 

http://localhost:8080/baz works as expected

> What about <servlet-mapping> tags?  Those are
> required to map the
> servlet class to a (context-relative) URI.
> 
> 
> : http://localhost:8080/baz/test.html causes my
> servlet
> : to run? Do I have to create some sort of mapping
> entry
> : in webapps/bas/WEB-INF/web.xml for html to work?
> 



here is my web.xml file. What am I missing?

<web-app>
    <servlet>
        <servlet-name>baz</servlet-name>
       
<servlet-class>foo.bar.bazServlet</servlet-class>
    </servlet>

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

</web-app>

My guess is I need some sort of url-pattern that maps
/baz/* to /baz/*. What would the syntax be? this is
not a servlet thing? where can I find a dtd for
web.xml?

thanks andy








                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to