In the past I've found that UrlRewriteFilter
(http://www.tuckey.org/urlrewrite/) is a very simple and flexible way
to achieve this no matter what MVC framework you are using.
- Aner
On 03/10/2011 08:59 PM, fr Rouxel wrote:
Hi guys,
I need your help, at least your expertise...
My
Envoyé le : Ven 11 mars 2011, 9h 32min 38s
Objet : Re: url question
In the past I've found that UrlRewriteFilter
(http://www.tuckey.org/urlrewrite/) is a very simple and flexible way
to achieve this no matter what MVC framework you are using.
- Aner
On 03/10/2011 08:59 PM, fr Rouxel wrote
On Fri, Mar 11, 2011 at 11:20 AM, François Rouxel rouxe...@yahoo.com wrote:
that's a pity that a great mvc like struts does not provide that kind of
service... :-(
It can; you weren't doing it right. Struts has the ability to dispatch
to arbitrary resources, and the use of OGNL to create the
@struts.apache.org
Cc : François Rouxel rouxe...@yahoo.com
Envoyé le : Ven 11 mars 2011, 11h 32min 48s
Objet : Re: Re : url question
On Fri, Mar 11, 2011 at 11:20 AM, François Rouxel rouxe...@yahoo.com wrote:
that's a pity that a great mvc like struts does not provide that kind of
service... :-(
It can; you
name='error404'/error/struts-error404.jsp/result
/action
my pb : the browser show the redirection.
my question is : is it possible to tell struts to not show the redirection ?
thx a lot
fr/
--
View this message in context:
http://old.nabble.com/url-question
manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Thu, 10 Mar 2011 17:59:46 -0800
From: rouxe...@yahoo.com
To: user@struts.apache.org
Subject: url question
Hi guys,
I need your help, at least your expertise...
My site generates permaLinks
à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Thu, 10 Mar 2011 17:59:46 -0800
From: rouxe...@yahoo.com
To: user@struts.apache.org
Subject: url question
Hi guys,
I need your help, at least your expertise...
My site generates permaLinks
d'origine
De : Martin Gainty mgai...@hotmail.com
À : Struts Users Mailing List user@struts.apache.org
Envoyé le : Jeu 10 mars 2011, 21h 32min 20s
Objet : RE: url question
not i the type of result is redirectAction
http://struts.apache.org/2.0.14/docs/redirect-action-result.html
we
...@yahoo.com
Envoyé le : Jeu 10 mars 2011, 21h 46min 08s
Objet : Re: Re : url question
That's kind of what a redirect *is*.
Perhaps you're thinking of a forward?
Dave
On Thu, Mar 10, 2011 at 9:44 PM, François Rouxel rouxe...@yahoo.com wrote:
the main idea is
I generate permaLink for businesses
ex
On Thu, Mar 10, 2011 at 9:52 PM, François Rouxel rouxe...@yahoo.com wrote:
does struts2 have a type='forward' ?
because I use type='redirectAction'
Like I said--a redirect... redirects.
http://struts.apache.org/2.x/docs/result-types.html
http://struts.apache.org/2.x/docs/dispatcher-result.html
- Message d'origine
De : Dave Newton davelnew...@gmail.com
À : Struts Users Mailing List user@struts.apache.org
Cc : François Rouxel rouxe...@yahoo.com
Envoyé le : Jeu 10 mars 2011, 21h 55min 34s
Objet : Re: Re : Re : url question
On Thu, Mar 10, 2011 at 9:52 PM, François Rouxel rouxe
Cc : François Rouxel rouxe...@yahoo.com
Envoyé le : Jeu 10 mars 2011, 21h 55min 34s
Objet : Re: Re : Re : url question
On Thu, Mar 10, 2011 at 9:52 PM, François Rouxel rouxe...@yahoo.com
wrote:
does struts2 have a type='forward' ?
because I use type='redirectAction'
Like I said
Hey all
Can I somehow hide the action name in a URL to make it more search engine
friendly? I am specifically talking about the index page (in for example
http://www.myapp.com/index.action ).
Cheers
--
View this message in context:
http://www.nabble.com/URL-question-tf3776809.html#a10679563
If you mean you want a request to http://www.myapp.com/ to execute
input.action, you can:
- create an index.html with an http redirect header to index.action; or
- setup your webserver or container so that index.action is the
default welcome file (rather than index.html, index.jsp etc); or
-
14 matches
Mail list logo