You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Anonymous (JIRA)" <ji...@apache.org> on 2007/09/28 19:56:36 UTC
[jira] Updated: (WW-47) webwork.action.extension property no longer
works
[ https://issues.apache.org/struts/browse/WW-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Resolution: Not A Problem (was: Fixed)
Status: Resolved (was: Closed)
> webwork.action.extension property no longer works
> -------------------------------------------------
>
> Key: WW-47
> URL: https://issues.apache.org/struts/browse/WW-47
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration
> Environment: Orion 1.6.0, latest WebWork CVS (23/07/2002)
> Reporter: Chris Miller
> Assignee: Matt Baldree
> Fix For: WW 1.3
>
>
> I have the following in actions.xml:
> <action name="news.NewsAction">
> <command name="listNews" alias="news">
> <view name="success">news/index.vm</view>
> </command>
> </action>
> (note that I implement the CommandDriven interface, if that matters?)
> I can successfully access this action using either:
> 1) http://localhost/news.NewsAction!listNews.action or
> 2) http://localhost/news.action
> However, when I set webwork.action.extension (in webwork.properties) to anything other than 'action' (and set the appropriate mapping in web.xml), only the first case above works. If I try the second case, eg
> http://localhost/news.abc
> I get the exception shown below. This used to work fine with a 2+ month old build of WebWork.
> ERROR ServletDispatcher.java.service(): Could not instantiate action:news
> java.lang.IllegalArgumentException: Action 'news' not found
> at webwork.action.factory.JavaActionFactory.getActionImpl(JavaActionFactory.java:57)
> at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54)
> at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:56)
> at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:101)
> at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53)
> at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62)
> at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96)
> at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62)
> at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36)
> at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37)
> at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46)
> at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:90)
> at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:62)
> at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:207)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
> at com.evermind._efb._plc(.:518)
> at com.evermind._efb._adc(.:174)
> at com.evermind._cs._yqb(.:614)
> at com.evermind._cs._yrb(.:189)
> at com.evermind._bx.run(.:62)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Updated: (WW-47) webwork.action.extension property no longer works
Posted by Antonio Petrelli <an...@gmail.com>.
What do I see? An anonymous user changed the resolution of an issue???
Antonio
2007/9/28, Anonymous (JIRA) <ji...@apache.org>:
>
> [ https://issues.apache.org/struts/browse/WW-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
>
> Resolution: Not A Problem (was: Fixed)
> Status: Resolved (was: Closed)
>
> > webwork.action.extension property no longer works
> > -------------------------------------------------
> >
> > Key: WW-47
> > URL: https://issues.apache.org/struts/browse/WW-47
> > Project: Struts 2
> > Issue Type: Bug
> > Components: Configuration
> > Environment: Orion 1.6.0, latest WebWork CVS (23/07/2002)
> > Reporter: Chris Miller
> > Assignee: Matt Baldree
> > Fix For: WW 1.3
> >
> >
> > I have the following in actions.xml:
> > <action name="news.NewsAction">
> > <command name="listNews" alias="news">
> > <view name="success">news/index.vm</view>
> > </command>
> > </action>
> > (note that I implement the CommandDriven interface, if that matters?)
> > I can successfully access this action using either:
> > 1) http://localhost/news.NewsAction!listNews.action or
> > 2) http://localhost/news.action
> > However, when I set webwork.action.extension (in webwork.properties) to anything other than 'action' (and set the appropriate mapping in web.xml), only the first case above works. If I try the second case, eg
> > http://localhost/news.abc
> > I get the exception shown below. This used to work fine with a 2+ month old build of WebWork.
> > ERROR ServletDispatcher.java.service(): Could not instantiate action:news
> > java.lang.IllegalArgumentException: Action 'news' not found
> > at webwork.action.factory.JavaActionFactory.getActionImpl(JavaActionFactory.java:57)
> > at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54)
> > at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:56)
> > at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:101)
> > at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53)
> > at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62)
> > at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96)
> > at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62)
> > at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36)
> > at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37)
> > at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46)
> > at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:90)
> > at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:62)
> > at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:207)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
> > at com.evermind._efb._plc(.:518)
> > at com.evermind._efb._adc(.:174)
> > at com.evermind._cs._yqb(.:614)
> > at com.evermind._cs._yrb(.:189)
> > at com.evermind._bx.run(.:62)
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org