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
dear all
in struts.xml I have
/g/homeNews.action
/g/G0023_Login.jsp
but when success the error appears The requested resource
(/baibai/g/homeNews.action) is not available
however when I input /baibai/g/homeNews.action by myself from the address
bar it works
and also
/g/G0042_ListNewsByCategory
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
dear eduramiba
I've tried
%{homeNews.action}
/g/G0023_Login.jsp
but got this error
There is no Action mapped for namespace / and action name .
*The requested resource (There is no Action mapped for namespace / and
action name .) is not available.*
do you have any suggestion?
2010/1/10
> Hi,
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">
> %{homeNews.action}
> /g/G0023_Login.jsp
>
> but got this error
5 matches
Mail list logo