Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18556
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Problem with tomcat 6.0.32 |
| Date | 2012-09-05 09:03 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <k27t4j$s2g$1@dont-email.me> (permalink) |
| References | <5f8ee108-bcec-4f96-ac86-d49e548b204a@googlegroups.com> |
On 9/4/2012 11:50 PM, ruds wrote: > hi, > I'm am deploying an application having JSP's and few servlets. My servlet is not getting invoked after calling from JSP. My web.xml entry is: > <web-app> > <servlet> > <servlet-name>login</servlet-name> > <servlet-class>CheckLogin</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>login</servlet-name> > <url-pattern>/CheckLogin/* </url-pattern> > </servlet-mapping> > </web-app> > > all my classes are in the WEB-INF/classes directory. On called by JSP I'm getting error as: > The requested resource (/CheckLogin) is not available. > I'm calling this from a JSP form element: > <FORM name="f1" ACTION="/CheckLogin" METHOD=POST onsubmit='return checkall()'> > > please tell what might be causing this problem. What is the context path for the web app? Can you show us the URL used for the FORM above, and the URL of the /CheckLogin action that doesn't work? Just cut and paste them both from the browser, don't try to "figure them out." I want the host name too, even if it's "127.0.0.1" or localhost.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problem with tomcat 6.0.32 ruds <rudranee@gmail.com> - 2012-09-04 23:50 -0700
Re: Problem with tomcat 6.0.32 markspace <-@.> - 2012-09-05 09:03 -0700
Re: Problem with tomcat 6.0.32 ruds <rudranee@gmail.com> - 2012-09-05 20:36 -0700
Re: Problem with tomcat 6.0.32 markspace <-@.> - 2012-09-05 22:27 -0700
Re: Problem with tomcat 6.0.32 Fredrik Jonson <fredrik@jonson.org> - 2012-09-06 04:36 +0000
Re: Problem with tomcat 6.0.32 Arne Vajhøj <arne@vajhoej.dk> - 2012-09-08 22:33 -0400
Re: Problem with tomcat 6.0.32 markspace <-@.> - 2012-09-08 20:22 -0700
Re: Problem with tomcat 6.0.32 Arne Vajhøj <arne@vajhoej.dk> - 2012-09-08 23:25 -0400
Re: Problem with tomcat 6.0.32 Arne Vajhøj <arne@vajhoej.dk> - 2012-09-08 23:30 -0400
Re: Problem with tomcat 6.0.32 markspace <-@.> - 2012-09-08 20:36 -0700
Re: Problem with tomcat 6.0.32 Arne Vajhøj <arne@vajhoej.dk> - 2012-09-08 23:51 -0400
jsessionId (was: Re: Problem with tomcat 6.0.32) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-09-09 09:35 +0000
Re: jsessionId Arne Vajhøj <arne@vajhoej.dk> - 2012-09-09 09:39 -0400
csiph-web