File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes set-property element in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "set-property element in Struts" Watch "set-property element in Struts" New topic
Author

set-property element in Struts

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
What is the use of set-property element . It is supported by most all of the elements
that define Struts entities such as form-bean, action-mapping, action,
and plug-in.
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 356
Hi,

For form beans it is used for DynaActionForm's properties.

Thanks,
Shailesh
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It lets you set whatever arbitrary properties are supported by the underlying element.

You know you can just look at the source code, right?
jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
I cam across this :All set-property elements for a given plug-in will be processed prior to calling theplug-in’s init( ) method. This allows the plug-in to use the value of the properties in
the init( ) method.


Any example of this ?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

http://struts.apache.org/1.x/userGuide/building_view.html#Tiles
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: set-property element in Struts
 
Similar Threads
Struts Validation Plug In
form bean
Struts - tiles
SSL
Can I use the paramProperty from a hyperlink in a textfield in the called .jsp-page?