Thanks for confirming that Jacob... I was beginning to doubt that I had understood the 
web app. deployment strategy.  Nevertheless, an internal server error is returned when 
I use the url you suggested:

Cannot allocate servlet instance for path /jat/servlet/com.justatest.test.InitSnoop.
And the root cause is:
NoClassDefFoundError: com/justatest/test/InitSnoop (wrong name: InitSnoop)

I haven't used a servlet-mapping, and I can confirm an InitSnoop.class exists in that 
directory.

Can anyone shed some light on this for me?

thanks
/j-p.



On Fri, 20 Sep 2002, Jacob Kjome wrote:

> Hello john-paul,
> 
> If you haven't provided a servlet-mapping, you can use Tomcat's
> invoker servlet like this:
> 
> http://localhost:8080/jat/servlet/com.justatest.test.InitSnoop
> 
> Otherwise, you could provide a servlet-mapping to, say, "/initsnoop"
> and access it like this:
> 
> http://localhost:8080/jat/initsnoop
> 
> 
> Jake
> 
> Friday, September 20, 2002, 11:32:08 AM, you wrote:
> 
> 
> 
> jpd> Then what is the URL I should be using to invoke the InitSnoop servlet if the 
>file system location is: 
> 
> jpd>    <tomcat-root>webapps/jat/WEB-INF/classes/com/justatest/test/InitSnoop?
> 
> jpd> thanks
> jpd> /j-p.
> 
> jpd> On Fri, 20 Sep 2002, Miguel Angel Mulero Martinez wrote:
> 
> >> Maybe the InitSnoop.java don't start with "package com.justatest.test;"
>  
>  
> 
> jpd> -----------------------
> jpd>  JUSTATEST Art Online
> jpd>   www.justatest.com
> 
> 
> 
> 
> jpd> --
> jpd> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> jpd> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 


-----------------------
 JUSTATEST Art Online
  www.justatest.com




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

Reply via email to