INTEGRITY Ügyfélszolgálat wrote:

> I don't known why don't work cause I tried to copy examples context
>  to an another name, but it not worked.
> I tried to create a context in tomcat 3.2.1 (it works), and copy
>  to tomcat 4.0b1 (it doesn't work, is is the owntest context).
>
> Anybody knows why?
>

Did you restart Tomcat 4.0 after setting this application up?  What URL
did you try?  What response did you get?  What response did you expect?

Craig McClanahan


>
> Here my owntest (It works in 3.2.1 but it doesn't in 4.0b1!):
>
> I create a new context in server.xml:
>         <Context path="/owntest"
>                  docBase="owntest"
>                  crossContext="false"
>                  debug="0"
>                  reloadable="true" >
>         </Context>
>
> I set webapps/owntest/:
>
> Web-inf/
>  classes/SnoopServlet.class
>  web.xml
>
> web.xml:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
>
> <web-app>
>     <servlet>
>         <servlet-name>
>             snoop
>         </servlet-name>
>         <servlet-class>
>             SnoopServlet
>         </servlet-class>
>     </servlet>
>     <servlet-mapping>
>         <servlet-name>
>             snoop
>         </servlet-name>
>         <url-pattern>
>             /snoop
>         </url-pattern>
>     </servlet-mapping>
> </web-app>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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

Reply via email to