You need not mention the name attribute at all. This is what you can do: 1)Your struts config will be something like this:
2)now in your jsp you can do something like this:
The form name is automatically taken to be loginForm which is what you mentioned in your struts-config.xml.
Hope this solves your problem. [ February 22, 2006: Message edited by: dnyan ginde ]
Joined: Jun 03, 2005
Thanks dnyan for your reply. I have another question
If i am using simple html tags then i do <input type="radio" name="radiobtns" value="abc" onklik="show('layer1')"< which works fine. but if i want to use struts html tags and if i use <html:radio property = "radio" value = "<=%qvalue%<" onklik="show('layer1')"/< Then it throws this error
Attribute onClick invalid for tag radio according to TLD