tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugh O'Brien" <hu...@intelis.com>
Subject Re: servlet invoking
Date Thu, 25 May 2000 18:29:01 GMT
"kc.baltz" wrote:

> > Are you sure ?  My form still can't find my servlet.  He is
> > my specific example
> > I am working with.
>
> Not anymore! :)
>
> >
> > relevent piece of web.xml file
> >
> >  <servlet>
> >   <servlet-name>ValidateSignupLogin</servlet-name>
> >
> > <servlet-class>com.intelis.webfe.servlets.signup.ValidateSignu
> > pLogin</servlet-class>
> >
> >   <load-on-startup>3</load-on-startup>
> >  </servlet>
> >
> >  <servlet-mapping>
> >   <servlet-name>ValidateSignupLogin</servlet-name>
> >   <url-pattern>/ValidateSignupLogin</url-pattern>
> >  </servlet-mapping>
> >
> > In my jsp
> >
> > <form name="CreateAccount" action="/ValidateSignupLogin"
> > method="POST">
> > .....
> > .....
> > .....
> > </form>
> >
> > The error I get is:
> >
> > Error: 404
> >
> > Location: /ValidateSignupLogin
> >
> > File Not Found
> > /ValidateSignupLogin
> >
> > -- Hugh W. O'Brien
> >
>
> I think I had it wrong because we use the root as our web context, so
> getting to a servlet is http://localhost/MyServlet. I'll correct what I
> suggested to the following:
> Assume your context is named foo.
>
> action="/foo/ValidateSignupLogin"  or
> action="http://yourhost/foo/ValidateSignupLogin"
>
> K.C.
>
> P.S.  If that still doesn't work, I can keep guessing :)
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

Alright,

I am ready for guess number 3 K.C.  BTW, the Context is /MinuteMakers

-- Hugh


Mime
View raw message