Defining actions for i18n

2013-07-24 Thread Antonio Sánchez
Hello. I'm defining some actions with no logic, they only result in some JSP. Usually this is defined like this: /WEB-INF/jsp/Page.jsp But l10n is required, so I'm doing this: /WEB-INF/jsp/I18nedPage.jsp /WEB-INF

Re: Using Util class inside JSP

2013-07-24 Thread Antonio Sánchez
Thank you both. In the future, whenever possible, I'll try to put this logic in a base class. Kind regards. El Martes, 23 de julio de 2013 12:59:06 Dave Newton escribió: > I don't know if it's *explicitly* a bad practice, but it's pretty easy to > hose things up with arbitrary static method acc

Re: Defining actions for i18n

2013-07-24 Thread Lukasz Lenart
/WEB-INF/jsp/I18nedPage.jsp This way should be simpler and maybe you can use wildcard matching. You can also define or Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/24 Antonio Sánchez : > Hello. > > I'm defining some actions with no logic, they only result in some

Re: Defining actions for i18n

2013-07-24 Thread Antonio Sánchez
I have both defined and . I need both because I'm using as a welcome action. In more complicated cases I can always define a 'localize' method. Thank you very much. El Miércoles, 24 de julio de 2013 15:10:36 Lukasz Lenart escribió: > > /WEB-INF/jsp/I18nedPage.jsp > > > This way sho