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


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

Re: Problem with tomcat 6.0.32

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Problem with tomcat 6.0.32
Date 2012-09-05 22:27 -0700
Organization A noiseless patient Spider
Message-ID <k29c7q$6to$1@dont-email.me> (permalink)
References <5f8ee108-bcec-4f96-ac86-d49e548b204a@googlegroups.com> <k27t4j$s2g$1@dont-email.me> <589d18a1-e640-4226-9b75-3f0973bb7f62@googlegroups.com>

Show all headers | View raw


On 9/5/2012 8:36 PM, ruds wrote:
> the URL for my webapp is: http://localhost:8080/FIR/login.jsp
> the URL which it gets directed to should be: http://localhost:8080/FIR/CheckLogin
> but it is going at: http://localhost:8080/CheckLogin
>


Yup, c.f. Fredrik's reply: the "action" from the form needs to either be 
/FIR/CheckLogin, or it needs to be a relative URL -- "CheckLogin" with 
no slash in front.

Your missing the context path, in other words, which is easy for newbies 
to trip on.

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