File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Array list object using in sruts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Array list object using in sruts" Watch "Array list object using in sruts" New topic

Array list object using in sruts

ravi tejak

Joined: Jul 26, 2012
Posts: 1

I have a group of text fields by year wise like present year,previous year,next year in jsp. i need to take that values and pass the values by action classs and display in the another JSP can any one tell me how to do and give me the example code.

the text box is like below senario

field name Previous year current year next year
---------- ------------- ------------ ----------
A textbox textbox textbox
B textbox textbox textbox
C textbox textbox textbox
. . . .
. . . .
. . . .
. . . .
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

You will need to use Indexed Properties to reference the text boxes. If you do a search on this forum and the net, you will find many examples.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Array list object using in sruts
It's not a secret anymore!