This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring: Not able to redirect to a bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring: Not able to redirect to a bean" Watch "Spring: Not able to redirect to a bean" New topic
Author

Spring: Not able to redirect to a bean

VenkataPrasad Regula
Ranch Hand

Joined: Jun 30, 2011
Posts: 63
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

Joined: Aug 04, 2011
Posts: 4
If you would, post your web.xml.
Thanks
VenkataPrasad Regula
Ranch Hand

Joined: Jun 30, 2011
Posts: 63
Andrew,
My web.xml consists of the following

 
Consider Paul's rocket mass heater.
 
subject: Spring: Not able to redirect to a bean
 
Similar Threads
IllegalStateException:Neither BindingResult nor plain target object for bean name available
Spring MVC dirt-simple app won't work
nested exception is org.xml.sax.SAXParseException: Attribute "value" must be declared
Spring MVC: How to handle to different command object for two different forms
Spring MVC question