Check the path given for the jsp in the input... 

-----Original Message-----
From: Aaron Crandall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 5:26 AM
To: [EMAIL PROTECTED]
Subject: Cannot get request dispatcher for path login.jsp


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 







 
                   


------------------------------------------------------------------------------
The information in this Internet email is confidential and may be 
legally privileged. It is intended solely for the addressee. Access 
to this Internet email by anyone else is unauthorised.

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this Internet email are subject to the terms and conditions
expressed in any applicable governing ING Barings' terms of business or
client engagement letter.

Visit us at www.ingbarings.com

------------------------------------------------------------------------------

Reply via email to