struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Srivastava" <>
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

Thanks in advance for your advise.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message