I have this code in my JSP page. I need to have name = "questionList" for the form because i am using java script if(document.questionList.yesno1.options[1].selected)... in the JSP page.

WarnerJan Veldhuis

It says that, because name is not an attribute for html:form. If you put in <html:form action="/questions.do" /> Struts will automatically put in <form name="name of the ActionForm that belongs to questions.do here">

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact