OK, so your submitting your form and its calling the forms validate()
method - whats happens next, is it getting validation errors and returing to
your input "/test/app/appCreate.jsp" or is it carrying on and running your
action "AppCreateAction" - if its carrying on and executing the Action,
where does the Action forward to when its finished?

Niall

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 24, 2004 9:35 PM
Subject: urgent problem about validator !!!


> hello,
>   I am working on a struts based web application, which requires
validation both on
> client side and server side. There's an action entry in the
struts-config.xml here:
>         <action path="/appCreateApp" validate="true"
> +type="com.embisoft.dvb.server.actions.app.AppCreateAction"
scope="request" name="appCreateAppForm"
> +input="/test/app/appCreate.jsp"/>
>
>  also it's corresponding form bean:
>                 <form-bean name="appCreateAppForm"
type="com.embisoft.dvb.server.actions.app.AppCreateForm">
>                         <form-property name="appId"
type="java.lang.String"/>
>                 <form-property name="appName" type="java.lang.String"/>
>                 <form-property name="appVersion" type="java.lang.String"/>
>                 <form-property name="pathname" type="java.lang.String"/>
>                 </form-bean>
>
>
>   The form bean AppCreateForm extends the ValidatorForm.
>   the problem is that whenever the form is submited(whether valid or not),
it always displays a
> blank page. When I try to overwrite the validate method in the
AppCreateForm and print a debug message,
> I could certainly see it in the console, which means the validate method
is executed.
>   So, what's the problem ? Thank you very much!
>
> Yours,
> Ding Lei <[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]

Reply via email to