Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

RE: Upgrade 2.1.6 to 2.1.8.1

CRANFORD, CHRIS

2010-03-10

Replies: Find Java Web Hosting

Author LoginPost Reply
I did have my filters defined as:

struts2-cleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
struts2-prepare
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter
struts2-execute
org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter

I had used this before as I had a technote that this was required for another filter we had enabled a while back which is no longer used.

I changed the 2.1.8.1 upgrade copy to use

struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

When I did this, it all started to work.

I need to see if using the prepare/execute/cleanup classes with 2.1.8.1 were changed so that you cannot break them out like I had them prior with 2.1.6 in the event we must go back and break these out again.

Chris


> -----Original Message-----
> From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
> Sent: Wednesday, March 10, 2010 10:55 AM
> To: Struts Users Mailing List
> Subject: Re: Upgrade 2.1.6 to 2.1.8.1
>
> 2010/3/10 CRANFORD, CHRIS <Chris.Cranford@(protected)>
> >
> > When upgrading Struts from 2.1.6 to 2.1.8.1; I found that for some
> > reason my application isn't actually loading struts.  Did anyone
> > experience this problem when they upgraded?  Is there something specific
> > I should check or be aware of?
> >
> > It is as if the framework just isn't being loaded via web.xml.
>
> Did you use a new filter? Do you have any exceptions?
>
>
> Regards
> --
> Łukasz
> http://www.lenart.org.pl/
> Kapituła Javarsovia 2010
> http://javarsovia.pl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.