Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18556

Re: Problem with tomcat 6.0.32

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Problem with tomcat 6.0.32
Date Wed, 05 Sep 2012 09:03:29 -0700
Organization A noiseless patient Spider
Lines 32
Message-ID <k27t4j$s2g$1@dont-email.me> (permalink)
References <5f8ee108-bcec-4f96-ac86-d49e548b204a@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 5 Sep 2012 16:03:31 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="28752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7Nyiz+JfuxbR3t9EVEwytn68qxCZ8YsE="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
In-Reply-To <5f8ee108-bcec-4f96-ac86-d49e548b204a@googlegroups.com>
Cancel-Lock sha1:M2xy1bIH1wTERjDzY85UXlkD/y8=
Xref csiph.com comp.lang.java.programmer:18556

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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