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
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
> 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
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}
{
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
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
6 matches
Mail list logo