tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <delbd+jaka...@oma.be>
Subject Re: servlet url pattern problem!
Date Tue, 03 Apr 2007 10:12:12 GMT
En l'instant précis du 03/04/07 11:47, jacky s'exprimait en ces termes:
> in web.xml:
> <servlet-mapping>
> <servlet-name>login</servlet-name>
> <url-pattern>/servlet/login</url-pattern>
> </servlet-mapping>
> in jsp:
> <FORM action="<%=request.getContextPath()%>/servlet/login"
> method="POST" >
> There is an error when the jsp is submit (URL:
> http://localhost:8080/test/servlet/login):
>
> type Status report
> message /test/servlet/
> description The requested resource (/test/servlet/) is not available.
You tried to post to <webapp>/servlet, not <webapp>/servlet/login
according to your error message. Check you didn't forget a /login
somewhere in your jsp.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message