You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Sanjay Bahal <sb...@yahoo.com> on 2002/03/20 17:39:42 UTC

Re: Tomact Servlet Deploy Question/Problem- Help

Can anybody help on this.
TIA
Sanjay
--- Sanjay Bahal <sb...@yahoo.com> wrote:
> I installed Tomcat4.01/NT the examples run-
> webapps/servlets.
> I am trying to deploy my example servlet 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
> 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? Is this difficult?
> 
> 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/

Re: Tomact Servlet Deploy Question/Problem- Help

Posted by Scott Nichol <sc...@yahoo.com>.
I would recommend posting this to a Tomcat mailing list.

Scott

----- Original Message ----- 
From: "Sanjay Bahal" <sb...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Wednesday, March 20, 2002 11:39 AM
Subject: Re: Tomact Servlet Deploy Question/Problem- Help


> Can anybody help on this.
> TIA
> Sanjay
> --- Sanjay Bahal <sb...@yahoo.com> wrote:
> > I installed Tomcat4.01/NT the examples run-
> > webapps/servlets.
> > I am trying to deploy my example servlet 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
> > 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? Is this difficult?
> > 
> > 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/


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: Tomact Servlet Deploy Question/Problem- Help

Posted by Scott Nichol <sc...@yahoo.com>.
I would recommend posting this to a Tomcat mailing list.

Scott

----- Original Message ----- 
From: "Sanjay Bahal" <sb...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Wednesday, March 20, 2002 11:39 AM
Subject: Re: Tomact Servlet Deploy Question/Problem- Help


> Can anybody help on this.
> TIA
> Sanjay
> --- Sanjay Bahal <sb...@yahoo.com> wrote:
> > I installed Tomcat4.01/NT the examples run-
> > webapps/servlets.
> > I am trying to deploy my example servlet 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
> > 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? Is this difficult?
> > 
> > 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/


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com