Default action method for unmatched wildcard actions

2014-05-23 Thread Antonio Sánchez
Hello. Given: method="{1}"> name="input">/WEB-INF/jsp/editPerson.jsp name="success">/WEB-INF/jsp/persons.jsp And url: http://localhost:8080/appctx/Person No matching is found and Struts redirects to "input" result directly. In

Re: Default action method for unmatched wildcard actions

2014-05-23 Thread Lukasz Lenart
Why don't use the Convention Plugin? 2014-05-23 10:58 GMT+02:00 Antonio Sánchez : > Hello. > > Given: > > method="{1}"> > name="input">/WEB-INF/jsp/editPerson.jsp > /WEB-INF/jsp/persons.jsp > > > And url: > > http://localhost:8080/

RE: utf-8 characters and xslt result type

2014-05-23 Thread Martin Gainty
necesita %C3%A8 por ejemplo Hell%C3%Ao World http://www.w3schools.com/tags/ref_urlencode.asp Saludos Cordiales desde EEUU Martín __ > Date: Thu, 22 May 2014 22:54:45 -0700 > Subject: utf-8 characters and xslt result type > From: arflo...@gmail.c

Re: utf-8 characters and xslt result type

2014-05-23 Thread Arturo Flores
The value of Content-Type is text/xml. Arturo On Thu, May 22, 2014 at 11:47 PM, Lukasz Lenart wrote: > 2014-05-23 7:54 GMT+02:00 Arturo Flores : > > When I request /testutf8 I get the following in the browser: > > XML Parsing Error: not well-formed > > Location: http://localhost:8080/testutf8 >

Re: utf-8 characters and xslt result type

2014-05-23 Thread Lukasz Lenart
So, encoding is missing. Do two things: - register a bug in JIRA -> https://issues.apache.org/jira/browse/WW - use some filter to force UTF-8 encoding -> http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl

Re: utf-8 characters and xslt result type

2014-05-23 Thread Arturo Flores
I already have this in my web.xml: CharacterEncodingFilter org.apache.catalina.filters.SetCharacterEncodingFilter encoding UTF-8 ignore true CharacterEncodingFilter /* Shouldn't this be forcing utf-8 encoding? I'll try the method in the link you p

Re: utf-8 characters and xslt result type

2014-05-23 Thread Arturo Flores
Apparently SetCharacterEncodingFilter only sets the character encoding for incoming content, does not affect the response. The custom filter in the link did work though, thanks for the tip. Arturo On Fri, May 23, 2014 at 8:54 AM, Arturo Flores wrote: > I already have this in my web.xml: > >