RE: problem with FormBean

2002-02-13 Thread Galbreath, Mark

It's a little difficult without seeing your implementation of validate(),
your MessageResources bundle, the input property for your ActionMapping, and
whatever custom taglib code you've implemented for handling the display in
xyz.jsp.

And while you're at it,
http://www.tuxedo.org/~esr/faqs/smart-questions.html

Cheers!
Mark

--
Try before you cry:
http://www.mail-archive.com/struts-user%40jakarta.apache.org/

-Original Message-
From: Dua, Amit [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 9:35 AM

Hi 
I am using form bean for the first time in struts .
I wrote a simple form bean which sets and gets values.
Also, I override the validate method in form bean with my logic.
My action class does not do anything other than forwarding the control to
some xyz jsp on success.

So, now when I put in correct values for the text values(where validation
succeeds and there is no error).
It goes to the correct page i.e. xyz jsp.

But when I do not put correct values in text boxes. It shows me HTTP 500
error.


Can Any one tell me what I am doing wrong.


Amit

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: problem with FormBean

2002-02-13 Thread Brian Richards

Make sure you have the input parameter set in the appropriate action tag
of the struts-config.xml.  The parameter should be set to the page you
posted from.

bsr



-Original Message-
From: Dua, Amit [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 13, 2002 9:35 AM
To: 'Struts Users Mailing List'
Subject: problem with FormBean


Hi 
I am using form bean for the first time in struts .
I wrote a simple form bean which sets and gets values.
Also, I override the validate method in form bean with my logic. My
action class does not do anything other than forwarding the control to
some xyz jsp on success.

So, now when I put in correct values for the text values(where
validation succeeds and there is no error). It goes to the correct page
i.e. xyz jsp.

But when I do not put correct values in text boxes. It shows me HTTP 500
error.


Can Any one tell me what I am doing wrong.


Amit

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]