posted 12 years ago
This is about jsp, beans with struts. The problem is, I am using one jsp which is containing some select boxes. I ll be populating the select boxes from DB thru beans and action class. It�s working properly. The problem is with the data insertion from JSP to DB. The case is, I have to add a new record (record is containing the select boxes data as fields). Now if I select any data from the �select�box, I have to capture that data thru �action class� and then pass that to �form Bean� so that I can update my DB with the new record. But what is happening is, I am unable to get the values of the �select box� data from JSP to action. I am using struts and 'iterate' tag to populate the data into the 'select' box. Can any one help me out with this? One more thing, I can�t use sessions in JSP. If any one can provide some examples in this regard, that will be of great use.