Application initialization at startup

2007-11-30 Thread Shyamal Mehta
For struts 2 what is the recommended/best way of executing any application specific code at application startup? In struts 1.x we used to create a plugin and configure its "startOnLoad" property to true. Thanks, SM - To unsubscri

Re: Using class constant in if tag

2007-11-17 Thread Shyamal Mehta
Thanks Wesley, that works. On Nov 17, 2007 1:12 PM, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > I haven't tried it, but I don't think that OGNL cares about your > imports. If your constant is static, then try - > > > > On 11/16/07, Shyamal Mehta <[EMAIL PR

Using class constant in if tag

2007-11-16 Thread Shyamal Mehta
Hi, I am using the struts if tag and want to use a constant from another class inside the if test condition. How can I do it? The relevant code snippet is: <%@ taglib prefix="s" uri="/struts-tags" %> <[EMAIL PROTECTED] import="com.example.Account"%> Display message here. The "st