Hi all I still have problems running Servlets.
 This is what I did
   The file which I am trying to run works in Jrun
 question #1
  I put my HTML file in TOMCAT_HOME/webapps/examples/my.html in html file I say
<form action="../servlet/MyServlet" method = get>
  Is the path correct ?

  question #2 I put my MyServlet.class file in
TOCMAT_HOME/webapps/examples/WEB-inf/classes/MyServlet.class is it correct?

So I get The page cannot be found error in my bowser
And in TOMCAT LOG I get
2001-05-02 11:09:54 - Ctx( /examples ): 400 R( /examples + /servlet/PaulsLoan +
null) HTTP method GET is not supported by this URL
Any Ideas?

Thanx





> -----Original Message-----
> From: Joy Lott [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 8:56 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Problems  Setting up Tomcat to run Servlets
>
> [EMAIL PROTECTED] wrote:
> >
> > Hi ,
> >  I have installed tomcat and set it up I am only able to run JSP pages but
> not
> > the Servlet part for some reason.
> > Can anybody tell me what I need to do.
> >
> > Thank you
> >
> > Paul
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>  I am sorry; I have alot going on this morning, but the servlet class
> files need to go in /examples/WEB-INF/classes.
>   Hope this helps!
>   Joy

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to