Access messages with JSTL instead of s:text

2014-05-24 Thread Alireza Fattahi
In struts 2 the (is equivalent to...) JSTL:${pageTitle} I use JSTL version which is more compact. Can we do the same thing with application messages?! To get text from message resources we do as below: Now, is there any JSTL version instead of  ? Meanwhile, I

Re: Struts2 namespace confusion

2014-05-24 Thread Dave Newton
This isn't the struts.enable.SlashesInActionNames = false setting? Dave On Sat, May 24, 2014 at 2:50 PM, Lukasz Lenart wrote: > Can you share your struts.xml file? > > Maybe you have defined default-action-ref or wildcard mapping? > > 2014-05-24 18:58 GMT+02:00 Matt Williams : > > > > > > No,

Re: utf-8 characters and xslt result type

2014-05-24 Thread Paul Benedict
Your XSL (stylesheet) has the ability to set the output content encoding. Are you using that? And does that work? Cheers, Paul On Sat, May 24, 2014 at 2:05 PM, Lukasz Lenart wrote: > Can you register a bug in JIRA? Then we can extend XSLTResult to set > content-encoding with response. > > 201

Re: utf-8 characters and xslt result type

2014-05-24 Thread Lukasz Lenart
Can you register a bug in JIRA? Then we can extend XSLTResult to set content-encoding with response. 2014-05-23 19:28 GMT+02:00 Arturo Flores : > Apparently SetCharacterEncodingFilter only sets the character encoding for > incoming content, does not affect the response. The custom filter in the >

Re: Struts2 namespace confusion

2014-05-24 Thread Lukasz Lenart
Can you share your struts.xml file? Maybe you have defined default-action-ref or wildcard mapping? 2014-05-24 18:58 GMT+02:00 Matt Williams : > > > No, there are no other 'search' actions defined anywhere else. > > > > -- > On Sat, May 24, 2014 11:46 AM CDT Ken McWilli

Re: Struts2 namespace confusion

2014-05-24 Thread Matt Williams
No, there are no other 'search' actions defined anywhere else. -- On Sat, May 24, 2014 11:46 AM CDT Ken McWilliams wrote: >What he explains is likely the result of a search action also mapped in the >default namespace. >On 2014-05-24 9:35 AM, "John Patrick" wrote:

Re: Struts2 namespace confusion

2014-05-24 Thread Ken McWilliams
What he explains is likely the result of a search action also mapped in the default namespace. On 2014-05-24 9:35 AM, "John Patrick" wrote: > > Not seen this happen myself, what strut > > Not seen this happen myself, what struts jar's do you have as it might be > something like the convention plug

Re: Struts2 namespace confusion

2014-05-24 Thread Matt Williams
For struts 2.1.8, I am using the following jars: - freemarker-2.3.15.jar - ognl-2.7.3.jar - struts2-core-2.1.8.1.jar - struts2-json-plugin-2.1.8.1.jar - struts2-tiles-plugin-2.1.8.1.jar - tiles-api-2.1.3.jar - tiles-core-2.1.3.jar - tiles-jsp-2.1.3.jar - tiles-servlet-2.1.3.jar - xwork-core-2.1.6.j

Re: Struts2 namespace confusion

2014-05-24 Thread John Patrick
Not seen this happen myself, what struts jar's do you have as it might be something like the convention plugin... If your using maven then it might be useful for others to include what specific maven dependencies your including so potentially someone else can try using the exact same jars. John

Struts2 namespace confusion

2014-05-24 Thread Matt Williams
Hello, I have been using struts 2.1.8 for a while and last night noticed an issue with mapping actions working with any url. For instance in the struts.xml file: - I have a package with a namespace of "/employee". - Within the package, I have an action mapping "search" - The webapp name is "TestW

Namespace URL confusion

2014-05-24 Thread Matt Williams
Hello, I have been using struts 2.1.8 for a while and last night noticed an issue with mapping actions working with any url. For instance in the struts.xml file: - I have a package with a namespace of "/employee". - Within the package, I have an action mapping "search" - The webapp name is "Test