This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have the following mapping in my struts-config file. The showLogin.do page shows the login page (which has the actual login form) and this action mapping works. Since I am using validation, it also displays required errors for username and password back on the login.do page. However when all the form fields are entered correctly it show me a blank page.
The problem is the other mapping which calls LoginAction does not work. There are no errors shown in the server logs.. I have a print statement inside the LoginAction on the very first line of the execute() method but it does not print anything. I am assuming that it does not reach LoginAction. I am not sure what I am doing wrong because I dont see any errors. Can anyone please help me?
Usually the form will have some suffix like /login.do. My form has /login and I have *.do in ActionServlet.. I tried doing a /login.do also for the form in the login page and it makes no difference
>Just a question: Are you sure you are able to see the Login.jsp which is >inside WEB-INF folder? Yes because I have mapped it <action path="/showLogin" forward="/WEB-INF/jsp/login.jsp"> </action>
Since I have used validation framework, the validation works on the login page and it says missing username etc.. but when everything is correct it does not go to the LoginAction. I have a print statement inside action but it doesnt work. I am using Struts 1.2.9...