This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 9045

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