wood burning stoves 2.0
The moose likes Struts and the fly likes need help in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "need help in web.xml" Watch "need help in web.xml" New topic

need help in web.xml

Arul Jose
Ranch Hand

Joined: Jan 14, 2005
Posts: 131
It seems like there is a problem in the web.xml. Im trying to trace it. i have given the source.



Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Would you mind explaining what makes you think there is a problem?

A good workman is known by his tools.
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
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'

-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
It is sorta covered in the JavaRanch Style Guide.
subject: need help in web.xml