before I was using the servlet-mapping and it didn't work but now it is
working...  Looks like I needed a break.

Thanks
----- Original Message ----- 
From: "Atreya Basu" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, August 24, 2003 11:09 PM
Subject: Re: problem installing basic app


> What I do for this is the following:
> <servlet>
> <servlet-name>HelloWorld</servlet-name>
> <servlet-class>tutorials.ch1.HelloWorldServlet</servlet-class>
> </servlet>
> ....
> <servlet-mapping>
> <servlet-name>HelloWorld</servlet-name>
> <url-pattern>/helloworldservlet</url-pattern>
> </servlet-mapping>
>
>
> Actually,
>
> Because I use JK2 I just call all of my servlets with the .jsp extension
> so all of my servlets are hit up with something like:
> http://mydomain.com/tools/helloworld.jsp
> So the url-pattern for me always ends in '.jsp'.
>
> asolomon wrote:
>
> >How would you register a webapp's servlet and that servlet's  url-mapping
> >when the invoker servlet mapping is disabled...???   I hope that sounds
> >right.  I just uncommented the invoker mapping in conf/web.xml but if
this
> >is a security risk I would like to know the other way to go about
installing
> >new web apps
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to