You'll need to remove the servlet path in <FORM ACTION tag of your html page if you've not un-commented the invoker servlet in %TC_HOME%\conf\web.xml. You'll also need to map your servlet to a URL.
For example, add this to your web.xml: <servlet-mapping> <servlet-name>myClass</servlet-name> <url-pattern>/myClass</url-pattern> </servlet-mapping> Regards Andy Wickson ----- Original Message ----- From: "Peng Annie" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 12:40 PM Subject: error with servlets > Hi > > I have Apache2, Tomcat 4, win2k. Now I can get the jsp page: > > http://localhost/myapp/login.jsp (which point to LoginServlet in > /myapp/web-inf/classes) > > but when I push "login", it pop up an error: > > type Status report > > message /dboard/servlet/LoginServlet > > description The requested resource (/dboard/servlet/LoginServlet) is not > available. > > What is the problem? > > BR, > > Annie > > -----Original Message----- > From: Kwok Peng Tuck [mailto:pengtuck@;makmal.com] > Sent: 24 October 2002 13:13 > To: Tomcat Users List > Subject: Re: how to configure my web applications > > > > Peng Annie wrote: > > >Yes I understand how to set classpath in Tomcat if I run tomcat, but how to > >set classpath when only apache is running and tomcat is not? > > > > > If you set the class path under Windows nt, it should take effect for > either the entire system or the user. (depends on what you set.) It > doesn't matter if apache is running or not. The classpath you set is > always there. > > > >Robert, thanks for the doc Apache2_Jk2_TC4.1.x.doc, when I did it step by > >step, it works perfectly. But now I got this problem. Any idea how to solve > >it? > > > >Annie > > > >-----Original Message----- > >From: Turner, John [mailto:JTurner@;AAS.com] > >Sent: 23 October 2002 18:32 > >To: 'Tomcat Users List' > >Subject: RE: how to configure my web applications > > > > > > > >I hate to say it, but... RTFM!! > > > >http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html > > > >John > > > > > > > >>-----Original Message----- > >>From: Peng Annie [mailto:Annie.Peng@;KONE.com] > >>Sent: Wednesday, October 23, 2002 11:27 AM > >>To: Tomcat Users List > >>Subject: how to configure my web applications > >> > >> > >>Hi there, > >> > >>I have Apache2, Tomcat 4, and Jk2. Now Apache is running as a > >>service and I > >>can run examples in Tomcat without starting tomcat. But I > >>don't know where > >>and how I can configure my webapps, should it be in > >>workers2.properties? > >>How? And where can I set my classpath? > >> > >>Best regards, > >> > >>Annie > >> > >> > >> > > > >-- > >To unsubscribe, e-mail: > ><mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > >For additional commands, e-mail: > ><mailto:tomcat-user-help@;jakarta.apache.org> > > > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:tomcat-user-help@;jakarta.apache.org> > -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
