Chaining Issue With Struts 2.2.1

2010-09-14 Thread Brice Roncace
I've been using a global-results mapping to chain exceptions to an exception handler action: error /WEB-INF/jsp/error.jsp My errorAction has a setException(Exception ex) method on it expecting the chain interceptor to set this value. This has worked beautifully prior to upg

Re: using a custom struts.multipart.parser in struts2.1.8.1

2010-01-28 Thread Brice Roncace
Lo and behold! This does work. . . the problem I was initially running into was that I was using the name: struts.multipart.parser and not the correct (new as of 2.1.8 ?) struts.multipart.handler So yes, defining the bean to use, in this case jakartax, will accomplish just what a struts-plugin

Re: using a custom struts.multipart.parser in struts2.1.8.1

2010-01-27 Thread Brice Roncace
> name="jakartax" > class="com.loadgeneral.struts2.JakartaMultiPartRequestx" > scope="default" /> > > > > > Steve > On Wed, Jan 27, 2010 at 4:03 PM, Brice Roncace > wrote: > > I'm trying to use a custom implementation

using a custom struts.multipart.parser in struts2.1.8.1

2010-01-27 Thread Brice Roncace
I'm trying to use a custom implementation of the org.apache.struts2.dispatcher.multipart.MultiPartRequest interface, but even after changing the appropriate struts2 constant value I still end up with the default JakartaMultiPartRequest. Here's the change I've made to my struts.xml file: {code} {

src download link for struts 2.1.8.1 incorrect

2010-01-06 Thread Brice Roncace
Just an FYI: the link to the struts 2.1.8.1 source zip file points to the struts 2.1.8 source, http://apache.inetbridge.net/struts/source/struts-2.1.8-src.zip (it should be http://apache.inetbridge.net/struts/source/struts-2.1.8.1-src.zip). Brice

Re: Struts2 redirect-action with post params

2009-06-25 Thread brice . roncace
Using the named parameter (parameters) that Struts2 places on the OGNL stack should work for you: submitXmlLicenseRequest ${#parameters.licenseRequest} Brice On Jun 25, 2009 11:36am, "Kelly.Graus" wrote: Hello, I am trying to redirect to an action when the default index page is