aspose file tools
The moose likes Spring and the fly likes Spring: Not able to redirect to a bean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply 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

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Spring: Not able to redirect to a bean
 
Similar Threads
Spring MVC question
Spring MVC dirt-simple app won't work
Spring MVC: How to handle to different command object for two different forms
IllegalStateException:Neither BindingResult nor plain target object for bean name available
nested exception is org.xml.sax.SAXParseException: Attribute "value" must be declared