| Author |
Simple Struts PlugIn Question
|
Stephen Pride
Ranch Hand
Joined: Sep 14, 2000
Posts: 121
|
|
I am creating a plugin for my Struts application, and was wondering how to programmatically retrieve the property values for the plugin. IOW, suppose my struts-config.xml file contains the following: How do I retrieve the property name/value pair of "test" and "123" from within MyPlugin.java? Thanks.
|
SCJP
|
 |
Kumaran Rajakumar
Greenhorn
Joined: Sep 10, 2004
Posts: 5
|
|
|
just simple. Have a private field names test in your class MyPlugin. have getter/setter methods. Struts will call the setTest(String param) with value 123.
|
 |
 |
|
|
subject: Simple Struts PlugIn Question
|
|
|