hi,

Does the following work - 

<s:set name="C" value="@[EMAIL PROTECTED]" />
<s:property value="#C" />

Yes it does. But my requirement is more like i would import the class into
some bean/ variable (C) so that i can say C.staticconstant1 etc... but by
the approach mentioned above, i should repeat the @com.company.Constant
string always which reduces the readability. Hope this adds some clarity.
Something similar to import.... and then say Constant....

Also, is com.company.Constants.STATIC_CONSTANTS1 a String?

Yes its a string.  i would be greatful to any further help.


cheers,
ravi 
-- 
View this message in context: 
http://www.nabble.com/Simplified-usage-of%3A%40com.company.Constants.StaticCOnstants-tp16941171p16975464.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to