In my Struts application, postForm is of the
DynaActionForm type:
DynaActionForm postForm = ( DynaActionForm )form;

Later on, I want to save one of the fields "receiver",
which is a String, in the request context. Which is
the following is the correct syntax?

request.setAttribute( "Receiver", postForm.get(
"receiver") );

Or

request.setAttribute( "Receiver", ( String
)postForm.get( "receiver") ); 



__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to