You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Billy Ng <kw...@earthlink.net> on 2005/04/21 18:16:25 UTC

How to get form from JSP

Hi all,

Is there a way to get the ActionForm obj in the JSP instead of using 
<bean:define> tag

Thanks!

Billy 


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


RE: How to get form from JSP

Posted by Wiebe de Jong <wi...@shaw.ca>.
The form is already defined as a bean. You can access it using the name you
gave it in your struts-config file.

i.e. <form-bean name="myForm" ...

Wiebe

-----Original Message-----
From: Billy Ng [mailto:kwokng@earthlink.net] 
Sent: Thursday, April 21, 2005 9:16 AM
To: Struts Users Mailing List
Subject: How to get form from JSP

Hi all,

Is there a way to get the ActionForm obj in the JSP instead of using 
<bean:define> tag

Thanks!

Billy 


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


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