ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Bahal <sb6...@yahoo.com>
Subject Re: Tomact Deploy Question/Problem
Date Tue, 19 Mar 2002 22:19:49 GMT
Hi all,
Can anybody help me deploy a servlet?
Thanks a lot,
Sanjay
--- Sanjay Bahal <sb6325@yahoo.com> wrote:
> I insatalled Tomcat the examples run-
> webapps/servlets.
> I am trying to deploy my example it does not run.
> I have directory structure /webapps/search.
> Under this I have my html file hello.htm-
> <td VALIGN=TOP WIDTH="30%"><a href="/hello"><img
> SRC="/images/execute.gif" HSPACE=4 BORDER=0 
> align=TOP></a><a
> href="/servlet/HelloWorldExample">Execute</a></td>
>  
> I have further dir. struc-
> /webapps/search/web-inf/classes
> I have my class in /classes and under web-inf I have
> my web.xml-
> <servlet>
>       <servlet-name>HelloWorld</servlet-name>
> 	  <description>
> 	  	HelloWorld
> 	  </description>
>      
> <servlet-class>HelloWorldExample</servlet-class>
>     </servlet>
> <servlet-mapping>
>       <servlet-name>HelloWorld</servlet-name>
>       <url-pattern>/hello</url-pattern>
>     </servlet-mapping>
> 
> When I run I get the error- The requested resource
> (/hello) is not available- both the tags fail. I
> have
> restarted etc Tomcat.
> 
> Am I not doing something right?
> 
> Alos how do I turn on debugging/logging etc on the
> server.
> Thanks
> Sanjay
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

Mime
View raw message