wood burning stoves*
The moose likes Struts and the fly likes 4 fields that makes one set Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "4 fields that makes one set " Watch "4 fields that makes one set " New topic
Author

4 fields that makes one set

Mahesh Lohi
Ranch Hand

Joined: Jun 22, 2009
Posts: 150
Hi all,

I have a situation where I have 4 fields that makes one set in the JSP forms. And the number of sets depends on the user. How will I insert these data into DB. how will I get the those data from, form to java class via actionform.

Thank you in advance
Bhagat Singh Rawat
Ranch Hand

Joined: Apr 04, 2009
Posts: 93
Mahi Lohi wrote:Hi all,

I have a situation where I have 4 fields that makes one set in the JSP forms. And the number of sets depends on the user. How will I insert these data into DB. how will I get the those data from, form to java class via actionform.

Thank you in advance



Set your object on request and get it at Action.

For Example:
At JSP:

At Action:


Brainbench Java 2.0 Fundamentals, J2EE 1.4
http://www.brainbench.com/transcript.jsp?pid=8192792
Mahesh Lohi
Ranch Hand

Joined: Jun 22, 2009
Posts: 150
Set your object on request and get it at Action

I am sorry, but I was unable to understand it.


 
Consider Paul's rocket mass heater.
 
subject: 4 fields that makes one set
 
Similar Threads
auto numbers
InputTextBox used within DataTable gets cleared if no validation error occurs
how to show records in jsp
Auto Number----Entity beans
Auto Numbers SQL Server-------Entity bean