Re: [OT] Re: Just a stab in the dark

2011-03-14 Thread Alex Lopez
I think they ment DSL as in Domain Specific Language Em 14-03-2011 14:06, Brian Thompson escreveu: On Mon, Mar 14, 2011 at 7:29 AM, Dave Newton wrote: On Mon, Mar 14, 2011 at 8:07 AM, Adam Hardy wrote: But for the future I am writing an app where the user can upload a file of data and spec

Re: Tomcat 7 supported?

2011-03-09 Thread Alex Lopez
Working here with Tomcat 7.0.6 and Struts 2.2.1.1 without any problem... Em 06-03-2011 19:22, Lee Clemens escreveu: Tomcat 7 changes include "Switch from AnnotationProcessor to InstanceManager." Struts 2.2.1.1 fails to work on Tomcat 7 due to java.lang.ClassNotFoundException: org.apache.Annotat

Re: Restrict direct access to static content

2011-02-16 Thread Alex Lopez
Correct me if I'm wrong, I think you could achieve this by doing: in web.xml: struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* and in struts.xml: so struts2 catches all url requests as actions, unless specified in the exc

user@struts.apache.org

2011-02-11 Thread Alex Lopez
I would better rewrite the method into part of the action name, before the params, and use wildcards both for the action name and the method (or just for the method), something like: have a look at: http://struts.apache.org/2.x/action-configuration.html http://struts.apache.org/2.x/wildcard-