Here's the segment of the validation.xml file which applies to login...
<form-validation>
<formset>
<form name="LoginForm">
<field property="userName" depends="required">
<arg0 key="User Name" resource="false"/>
</field>
<field property="password" depends="required">
<arg0 key="Password" resource="false"/>
</field>
</form>
<form name="EnterTransForm">
...
Looks pretty vanilla to me...
c'ya
Mike
----
Mike Boucher [EMAIL PROTECTED]
Edgil Associates www.edgil.com
"Don't take life too seriously, you'll never get out of it alive!"
"Martin
Gainty" To: "Struts Users Mailing List" <[EMAIL
PROTECTED]>
<[EMAIL PROTECTED] cc:
ail.com> Subject: Re: null form passed to execute
method
05/27/2004
09:38 AM
Please
respond to
"Struts Users
Mailing List"
Michael-
Could you supply your LoginAction-validation.xml
Regards,
Martin
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 27, 2004 9:15 AM
Subject: null form passed to execute method
> Hi folks,
>
> I'm experiencing some strange behavior that I can't figure out...
>
> The first page of the application is a login page. Its pretty simple,
has
> username and password text fields, and a login button.
>
> Every so often, the form parameter of the execute method in my
LoginAction
> class is null.
>
> It isn't consistent, sometimes it happens, most of the time it doesn't.
> The one constant is that when it happens, I have to kill execution, stop
> tomcat, and close the browser, as it will ALWAYS happen from there on out
> unless everything gets shut down. I start up again, and everything's
fine,
> I get my form.
>
> So the questions are:
> 1) What might be causing this?
> 2) What can I do to prevent it?
> 3) What's the recommended action to take when the form is null?
>
> FYI - I'm debugging the application using NetBeans 3.5.1, and I'm using
IE
> 6 as the browser.
>
> Any help would be appreciated!
>
> c'ya
> Mike
> ----
> Mike Boucher [EMAIL PROTECTED]
> Edgil Associates www.edgil.com
>
> "Don't take life too seriously, you'll never get out of it alive!"
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]