> I've got an object that I expose to my view via getModel. That object
> has a typical "public static final" constant...
>
> public static final String firstName_KEY = "firstName";
>
> Note that I purposefully don't provide a static getter (I don't want to
> have to write getters for all my
> This error page is defined in my web.xml:
>
>
>404
>/pages/errors/page404.jsp
>
You are using Tomcat web container. There is one issue regarding
element, but i assume there are the same reason for any url
used in web.xml.
https://issues.apache.org/struts/browse/WW-2025
In other w
> First of all, put that constants in struts.properties file next to
> struts.xml
> there are some problems with constants defined in struts.xml, some of them
> does not work correctly
Yes, you are right, for example constant "struts.locale" still is not loaded
correctly when it is in struts.xml
I think you forgot to override controller class (as i remember i had the same
problem):
Your configuration should have also:
>My configurations:
>
> struts-config.xml
>
>
>...
>
>
>
>
>...
>
>
> value="/WEB-INF/tiles-defs.xml" />
>
>...
>---
Hi everyone
What is the best practice to use REST url notation in Struts2 application ?
Does anyone have successful solution ?
Below are my consideration about the available solutions:
I used /* filter mapping for struts filter and set
and tried all available mappers for constant "struts.m
5 matches
Mail list logo