File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
jQuery in Action, 3rd edition