This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes pre-population in Struts 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "pre-population in Struts 2.0" Watch "pre-population in Struts 2.0" New topic

pre-population in Struts 2.0

panita lama

Joined: Mar 18, 2010
Posts: 4

I am new to Struts 2.0.

I am trying to build a web page that displays a listing of an arraylist of beans on load self.
I am planing to use a <display:table> to display them. In struts 1.2 i acheived the same using the reset() method.

How do i go about in Struts 2?
Any help is welcomed
David Newton

Joined: Sep 29, 2008
Posts: 12617

Read up on the Preparable interface and the "prepare" interceptor.
I agree. Here's the link:
subject: pre-population in Struts 2.0
It's not a secret anymore!