This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am creating a login page using struts 1.3.10. In the loginAction class I am giving mapping.findForward("welcome"); This then looks up the global forwards definition in struts-config.xml, which i have given as
<forward name="welcome" path="/wel.do"/>
Next in action mappings i give <action path="wel" forward="welcome.page" />. The welcome.page is defined in tiles-defs.xml as
<definition name="welcome.page" extends="main.layout">
<put name="title" value="Welcome"/>
<put name="body" value="/welcome.jsp"/>
I have created both the welcome.jsp and the mainLayout.jsp pages, but when i click on the login button on the login page, I get a "The website cannot display the page" error. Any help would be highly appreciated.