This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue with adding spring 3.0 to existing jsf 1.1 project

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Miku Ranjan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Are you getting any exception on console or log if yes what that please show here.
 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I got that working, i changed the mapping in web.xml from



To

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic