sorry to resurrect this thread but this solution doesn't work for me (and
I'm using struts 2.1.6)

do i have to change anything else in web.xml?

I have tried from

<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>

to

<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>

then it works, but I have problems with the CSS

any help is appreciated!!

2010/8/13 Dave Newton <davelnew...@gmail.com>

> Again, XML configuration is the preferred mechanism.
>
> Dave
>
> On Thursday, August 12, 2010, Ruben Cepeda <ruben_cep...@hotmail.com>
> wrote:
> >
> > If you haven't done so yet you'll have to create a struts.properties
> file and override it.  Here
> http://struts.apache.org/2.0.11/docs/strutsproperties.html
> >
> > -Ruben Cepeda
> >
> >
> >
> >> Date: Wed, 11 Aug 2010 14:57:33 +0530
> >> Subject: how to remove .action suffix in struts 2.1
> >> From: mail.supra...@gmail.com
> >> To: user@struts.apache.org
> >>
> >> Hi all,
> >> I need to remove the .action suffix associated with the actions.
> >> Please advise how to do this.
> >> Thanks and regards,
> >> Supratim
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to