Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring: Not able to redirect to a bean

 
VenkataPrasad Regula
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two pages 1. login.jsp 2. HomeForm.jsp. As I try to redirect from login to homeform using redirect:/home.htm, from xxx-servlet.xml, it is giving the error(No mapping found for HTTP request with URI [/CustomerLogin/home.htm] in DispatcherServlet with name 'login'). My xxx-servlet.xml is as below. Thanks in advance.

 
Andrew Carr
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you would, post your web.xml.
Thanks
 
VenkataPrasad Regula
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andrew,
My web.xml consists of the following

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic