This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: 4 fields that makes one set
 
Similar Threads
InputTextBox used within DataTable gets cleared if no validation error occurs
how to show records in jsp
Auto Number----Entity beans
auto numbers
Auto Numbers SQL Server-------Entity bean