Re: [Webwork-user] redirect action
Brought to you by:
baldree,
rickardoberg
From: Taavi T. <ta...@ib...> - 2002-06-20 09:09:08
|
> > What has happened to redirect.action? It does not > > seem to work with latest CVS. > I'll take a look and add an example. I'm out of pocket > for next couple of days so it will be later this week. Thanks Matt, It seems that one of the reasons why redirect.action does not work as it used to is because of current action chaining code. If my action has a following success view: index.action=Index index.success=redirect.action?url=another.action then isAction() finds that next action in chain is 'redirect.action?url=another'. isAction() merely removes '.action' from the end. Another reason seems to be that redirect action itselt (ie. action without a view) does not execute. getView() always throws ServletException if it does not find a view for a given action. with best wishes, Taavi |