• Post Reply Bookmark Topic Watch Topic
  • New Topic

setting up ACTION attribute of FORM element  RSS feed

 
yogesh kalaskar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my action attribute is ACTION="/cart.loginUser" in jSP
& in DD servlet mapping is

<servlet>
<servlet-name>RequestHandler</servlet-name>
<servlet-class>com.amazon.helper.LoginListener</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>RequestHandler</servlet-name>
<url-pattern>/cart.loginUser</url-pattern>
</servlet-mapping>

i am getting
Status 404 - /cart.loginUser

application structure is

CART
jsp
login.jsp
WEB-INF
web.xml
classes
com/amazon/helper
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll be glad to know that we have a FAQ entry that covers this very issue.

See:
http://faq.javaranch.com/java/SpecificationUrls
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!