Hello all,

I began to get the above error after adding validation code to my LoginForm bean. 
Detail below:

I have recently begun to setup a simple struts web. I have a login page (login.jsp), 
an action servlet (LoginAction) and a form (LoginForm). I placed some simple 
validation in the LoginAction "perform()" method and everything worked fine (if 
successful, the user was forwarded to a menu.jsp page, if not they were sent back to 
login.jsp). 

However, when I moved some validation into the form itself, so that I could display 
error messages, I began to get the "Cannot get request dispatcher for path login.jsp" 
error. Isn't the user supposed to be sent back to the "input" page if validate() 
returns errors? Why can't it find the login.jsp page? 

Thanks in advance for any help!

Aaron 







 
                   

Reply via email to