[s2] set action error text from resource bundle

2007-09-21 Thread johana pin
Hi, How can I use a global resource properties file (defined in struts..xml as: constant name=struts.custom.i18n.resources value=ApplicationResources/ ) for setting an action error text in an action class having an error key ? I tried: addActionError(getText(error.business.norights)), but the

[s2 on J4] custom ExceptionMappingInterceptor log

2007-08-31 Thread johana pin
Hi, I extended 'ExceptionMappingInterceptor' to add the logging functionality. I want to log to my own file. The problem is that the logging is done in SystemOut file. I used log4j in the custom interceptor: private org.apache.commons.logging.Log log = LogFactory.getLog(getClass()); The

[s2 on J4] Error Message: Filter [struts2]: could not be initialized

2007-06-06 Thread johana pin
I am new to struts 2 (previously work with struts 1) and I try to build an application with spring on java 1.4 (websphere 6.0). I got this error when I try to access the deployed application: Error Message: Filter [struts2]: could not be initialized Error Code: 500 Target Servlet: null Error