Java Mailing List Archive

http://www.junlu.com/

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

Best practive for request attributes with validation?

uni

2007-01-02


Happy new year to everyone!

In my application, I'm putting some attributes into the request that are used by
the JSP. The approach works fine, but when I have a form and the validation
fails, the input JSP is redisplayed but lacking the former request attributes.
My current workaround is to put the attributes into the session, but I don't
consider this a good solution. Are there any best practices for request
attributes in cases where forms are validated?

Cheers,

Thorsten



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

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