You can do this in 1.1.

See section  4.2.2
http://jakarta.apache.org/struts/userGuide/building_controller.html

BTW, You should be using :

private Map testData = new HashMap();

David



>From: "Hari" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: "Struts-User" <[EMAIL PROTECTED]>
>Subject: Hashtable in ActionForm
>Date: Wed, 16 Oct 2002 20:32:16 +0530
>
>Hello,
>
>Can somebody help me . I am not sure if this is possible.
>Can struts-html tag set and get data from a Hashtable in ActionForm
>
>Like this
>
>In my JSP I have
><html:text property=”name” >
>
>and in my actionform is
>public class TestActionForm extends ActionForm
>
>
>             public Hashtable testData = new Hashtable(); // This hashtable
>contains a key value pair as key = “name” and value=”xyz”
>}
>
>Thanks in advance
>Hari


_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


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

Reply via email to