I have a resource bundle file called "config.properties" that is created to
store application settings. This file is created during runtime and values
are provided by the user. I am retrieving one of these properties in my JSP
in a fmt:message key (basically user controlled i18n string).
What I r
I saw some posts on the dev list by Don B who talked about a 2.1.1 release
but JIRA still seems to say that 2.1.1 is pending? Can anyone confirm if
2.1.1 is released or if not, any ideas on timescales?
-
---
http://hedgehoglab.com
http://fixxbugs.com - bug tracking
RajiR,
How is the service implementation layer being instantiated?
The best way is to use the Spring plugin as defined at
http://struts.apache.org/2.0.11/docs/spring-plugin.html to inject objects
into your actions manage dependancy injection.
For more on interceptors and what they do, see
http
I think the message customisation has been covered so onto trapping
interceptor results.
The easiest way you can trap a 500 error is to define the following XML in
your web.xml file,
500
/error.jsp
In your error page, you will have access to the actionErrors collection
w
I have a s:select form element in my JSP that gets a list of enums to display
in a drop down box.
The following is my enum
public enum Colour {
WHITE,
RED,
BLACK;
}
The following is the action method that returns a List for my s:select
public List getColourList() {
return A
5 matches
Mail list logo