Re: Struts 2 token and FilterDispatcher

2010-01-10 Thread eduramiba
I changed the filter FilterDispatcher for org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter and it works perfect. eduramiba wrote: > > Hi, I have a problem I don't know how to approach. > > For some actions, I use a token and it works perfect. > >

Re: The requested resource is not available

2010-01-09 Thread eduramiba
You only need /g/homeNews.action I use OGNL expression for dynamic redirection. Nguyen Xuan Son-3 wrote: > > dear eduramiba > I've tried > > class="com.baibai.action.RegisteredAccountAction" > method="loginRegisteredAccount"> > %{homeNe

Re: The requested resource is not available

2010-01-09 Thread eduramiba
Hi, Nguyen Xuan Son-3. When you want to redirect to other action you should write something like this %{redirect} I use it for redirection to login needed actions after login and it works. Nguyen Xuan Son-3 wrote: > > dear all > in struts.xml I have > > class="com.baibai.action.RegisteredAc

Struts 2 token and FilterDispatcher

2010-01-09 Thread eduramiba
Hi, I have a problem I don't know how to approach. For some actions, I use a token and it works perfect. But now I would like to use http://tuckey.org/urlrewrite/ Url Rewrite Filter which needs to include FORWARD in the struts 2 FilterDispatcher to work. When I do this, the JSPs with stop