struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Srivastava" <abhis...@hotmail.com>
Subject Mandatory use of form rather than request object
Date Mon, 12 Jan 2004 15:18:40 GMT
Hello All,

I did some code reviews recently for my project being done on struts.

I found that most people still do a request.getAttribute("NAME") kind of
code even when the name is a property of the form object and is available in
the form object.

My question is should the use of form be mandatory. If yes, how it can be
enforced. Is there quick way I can remove all the params/attributes from the
request object once the corresponding values have been set in the form
object?

Thanks in advance for your advise.

Regards,
Abhishek.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message