Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help in web.xml

 
Arul Jose
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems like there is a problem in the web.xml. Im trying to trace it. i have given the source.


web.xml



struts-config.xml

 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you mind explaining what makes you think there is a problem?
 
alan do
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you probably got an action not found since your logic"redirect href attribute has the incorrect value. your action mapping for /strex/welcome is also not correct since for the welcome action.

1. if your context-root is 'strex', your action mapping path should just be '/welcome'.
2. your redirect href value should be '/strex/welcome.do'
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic