Re: how to remove .action suffix in struts 2.1

2012-07-10 Thread lucas owen
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

Re: how to remove .action suffix in struts 2.1

2012-07-10 Thread Łukasz Lenart
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/

Re: how to remove .action suffix in struts 2.1

2012-07-10 Thread lucas owen
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

Re: Reference to static field as parameter value in Struts2

2012-07-10 Thread jlmagc
What would be the average way? In this case there is no action to read(well, there is, but it could be any action), since this result is only called from an interceptor. Sent via BlackBerry from T-Mobile -Original Message- From: John Keats Date: Tue, 10 Jul 2012 15:55:46 To: Struts Use

Re: Reference to static field as parameter value in Struts2

2012-07-10 Thread John Keats
I am surprised this worked for you. But can't the average way execute a static method? On Sun, Jul 8, 2012 at 3:07 AM, JOSE L MARTINEZ-AVIAL wrote: > Well, after all it works just fine, I don't know what I was doing wrong. I > needed something more complicate than just a static field, I needed to

Re: PreffixMapper for language

2012-07-10 Thread J. Garcia
Does not sound bad. Just try it. Another option worth trying-out is urlrewrite: http://tuckey.org/urlrewrite/ With urlrewrite filter, you could set locale and forward to /mypackage/myaction. Saludos, J. On Mon, Jul 9, 2012 at 9:27 PM, JOSE L MARTINEZ-AVIAL wrote: > Last try: > Hello, > I have