Re: Struts2 actions' extension

2008-02-19 Thread Filipe David Manana
And, set it in the struts.properties file as the ActionMapper: struts.mapper.class=org.apache.struts2.dispatcher.mapper.LsfwebMapper On Feb 19, 2008 10:09 AM, Filipe David Manana <[EMAIL PROTECTED]> wrote: > I managed to find a solution to be able to use extensionless actions. > Just subclass t

Re: Struts2 actions' extension

2008-02-19 Thread Filipe David Manana
I managed to find a solution to be able to use extensionless actions. Just subclass the DefaultActionMapper like this: package org.apache.struts2.dispatcher.mapper; > > import java.util.*; > > public class LsfwebMapper extends DefaultActionMapper > { >private static List ignoredExtensions = ne

Re: Struts2 actions' extension

2008-01-15 Thread Laurie Harper
Filipe David Manana wrote: Yes, I use Tomcat 5.5. Where in tomcat do I configure directories not handled with mod_jk? He said 'apache+tomcat'; mod_jk is an Apache Httpd component, so it's not relevant if you aren't using Apache Httpd. See below for further comments. By the way, is there a

Re: Struts2 actions' extension

2008-01-12 Thread Filipe David Manana
Yes, I use Tomcat 5.5. Where in tomcat do I configure directories not handled with mod_jk? By the way, is there a Struts2 config only? thank you On Jan 12, 2008 6:56 PM, GF <[EMAIL PROTECTED]> wrote: > If you are using apache+tomcat, you can place static file in a > directory not handled with m

Re: Struts2 actions' extension

2008-01-12 Thread GF
If you are using apache+tomcat, you can place static file in a directory not handled with mod_jk On Jan 12, 2008 6:28 PM, Filipe David Manana <[EMAIL PROTECTED]> wrote: > Hi, > > I have set the property struts.action.extension to the empty string. I can > now invoke my actions with the default ".a

Struts2 actions' extension

2008-01-12 Thread Filipe David Manana
Hi, I have set the property struts.action.extension to the empty string. I can now invoke my actions with the default ".action" suffix, although I have a problem: css files (ending in .css) and javascript (.js) are no longer accessible to the client. How can I fix this? cheers -- Filipe David