and in Action class i write: String name = (String)testForm.getValue("name");
but now at this place 'name' is coming to be null. What mistake i am making.
Again you can not have getter methods with parameters in form bean. And setter method should have only one parameters. I mean you can have them in any format but for struts to invoke using reflection, these methods have to be in above mentioned format only.
Advisable solution would be to get map object using getMap() and then call get() on this map object.