struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Winterfeldt <dwinterfe...@yahoo.com>
Subject Re: Form Validation Question
Date Mon, 01 Oct 2001 21:34:10 GMT
You can put in any url in the input attribute.  So
there isn't a problem having input go through an
action.

David

--- "DEHAMER,BRIAN (HP-MountainView,ex1)"
<brian_dehamer@hp.com> wrote:
> If I want to use form validation with my ActionForm
> bean, what should I
> specify for the "input" attribute of my action
> defition?  Should it
> reference the JSP page that renders the form (e.g.
> "/login.jsp") or should
> it reference the action responsible for presenting
> the form (e.g.
> "/login.do")?
> 
> All of the examples that I've seen show the "input"
> attribute pointing to
> the JSP page; however, when I do this I notice that
> my page doesn't render
> properly because it is dependent on some information
> that is set in the
> associated action class.  If I put an action path in
> the "input" attribute I
> think I can solve my problem, but I'm not sure if
> this is an appropriate use
> of the architecture.  
> 
> Thanks for the help.
> 
> Brian DeHamer
> Hewlett-Packard Co.
> brian_dehamer@hp.com


__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

Mime
View raw message