Do you use the REST plugin ? If so please try with the latest snapshot
as there was a bug in RestActionMapper which prevents to properly
handle static resources.
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/7/10
thanks Lukasz, but I get the same error.
my welcome file is index.html, so first of all it complains:
HTTP 404 - There is no Action mapped for namespace / and action name
index.html
But now I can access my actions without the .action in the URL. The problem
is that the CSS's dont display, I pres
2012/7/10 lucas owen :
>
> struts2
> *
>
It should be /*
And what kind of error do you have with css ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
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
struts2
*.action
to
struts2
*
then it works, but I have problems with the CSS
any help is appreciated!!
2010/8/13 Dave Newton
Again, XML configuration is the preferred mechanism.
Dave
On Thursday, August 12, 2010, Ruben Cepeda 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
>
>
>
>
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.c
(Although XML configuration is really the preferred mechanism.)
Dave
On Wed, Aug 11, 2010 at 7:19 AM, Rakeshkumar Parmar <
rakeshkumar_par...@persistent.co.in> wrote:
> Hi,
>
> You can find it in struts-default.properties file.
> struts.action.extension=action
>
> create struts.prope
Hi,
You can find it in struts-default.properties file.
struts.action.extension=action
create struts.properties file in /WEB-INF/class and provide no extension.
That should work for you.
regards,
Rakesh
-Original Message-
From: Supratim Bandyopadhyaya [mailto:mail.supra..
8 matches
Mail list logo