A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Simple Struts PlugIn Question
Joined: Sep 14, 2000
Jul 28, 2004 11:56:00
I am creating a plugin for my
application, and was wondering how to programmatically retrieve the property values for the plugin. IOW, suppose my struts-config.xml file contains the following:
<plug-in className="my.own.plugin.MyPlugin"> <set-property property="test" value="123"/> </plug-in>
How do I retrieve the property name/value pair of "test" and "123" from within MyPlugin.java? Thanks.
Joined: Sep 10, 2004
Mar 22, 2011 03:32:51
just simple. Have a private field names
in your class MyPlugin. have getter/setter methods. Struts will call the setTest(
param) with value 123.
I agree. Here's the link:
subject: Simple Struts PlugIn Question
Server side validation - not working.
DynaAction and validation
???en_US.errors.required??? instead of fileds names
incompatibility between struts plugIn
Why My Validation Lets All Errors Pass Through?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015