Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Validate forms

Laurie Harper

2007-01-02

Replies:

LIM Adam wrote:
> Hi y'all and Happy New Year!
>
> This is my problem:
>
> I have a form which includes another form. When the included one is not
> filled correctly, errors are not displayed in the JSP related to the
> parent form but in the JSP related to the inner form. I want them to be
> displayed in the main page. Has anyone know how to handle it? Thanks in
> advance and Happy New Year again.

What do you mean by a 'form which includes another form'? How is it
included? It sounds like you have the error display markup in the 'inner
form' JSP and just need to move it to the parent JSP, but without
knowing what your code looks like it's hard to tell...

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.