It's not a secret anymore!*
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
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.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 4 fields that makes one set