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 Issue with adding spring 3.0 to existing jsf 1.1 project 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 "Issue with adding spring 3.0 to existing jsf 1.1 project" Watch "Issue with adding spring 3.0 to existing jsf 1.1 project" New topic
Author

Issue with adding spring 3.0 to existing jsf 1.1 project

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
We have any existing jsf 1.1 project, and i am trying to add spring 3.0 to it,
I am getting 404 error when trying to go to any controller, so i am not sure if it is scanning any controller or what is the issue, here is my set up

in web.xml i have added


Then my servlet-context.xml file looks like below



any my test controller class is as below


The URL is am trying is as below


I am expecting it redirect o home.jsp in folder /WebContent/spring/home.jsp

but i am getting 404 error for the URL above, what am i missing


A$HI$H
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
Are you getting any exception on console or log if yes what that please show here.
ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
Hi
I got that working, i changed the mapping in web.xml from



To

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with adding spring 3.0 to existing jsf 1.1 project
 
Similar Threads
Issue with getting Message from properties file in Controller, but works in JSP
javax.servlet.ServletException: No adapter for handler
STS springMVC project how to run on tomcat application
javax.servlet.ServletException: Could not resolve view with name home-- apache Velocity, spring
REST web service return both XML or JSON