RE: Roles in struts

2006-01-30 Thread Alan Comeau
You need to subclass the request processor and override the processRoles method, which by default does nothing. I have included some code which may help. public class BHBRequestProcessor extends DelegatingTilesRequestProcessor { protected boolean processRoles(javax.servlet.ht

RE: Struts UTF-8

2006-01-16 Thread Alan Comeau
If you are using the 2.4 servlet spec it is pretty easy to use UTF-8 you need to install a servlet filter. public class ServletCharacterEncodingFilter implements Filter { private FilterConfig config; /** Creates a new instance of SetCharacterEncodingFilter */ public ServletCharacterE

RE: Struts UTF-8

2006-01-16 Thread Alan Comeau
Should have added a filter mapping in the web.xml setCharaterEncoding StrutsActionServlet -Original Message- From: Marcio Ghiraldelli [mailto:[EMAIL PROTECTED] Sent: 16 January 2006 13:38 To: user@struts.apache.org Subject: Struts UTF-8 I am trying to use UTF-8 in