[ https://issues.apache.org/struts/browse/WW-2525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Newton reopened WW-2525: ----------------------------- (Post isn't on Nabble yet, so I'm cutting and pasting from struts-user.) --- Décio Heinzelmann Luckow <[EMAIL PROTECTED]> wrote: > I was testing the tag <default-action-ref> to configure the default action > mapping for a package, without success, then I search Struts Jira for > something about this and find the WW2525. > > The WW2525 is closed with the argument that this tag is used to configure > the default class to be used when an action mapping don't specify the > class. > > I disagree with this because we have this tags: > <default-class-ref> > and > <default-action-ref> > > I think that <default-class-ref> is to set de default class of mapping > without class, and not <default-action-ref> > > The file xwork-default.xml use <default-class-ref> to set ActionSupport > <default-class-ref class="com.opensymphony.xwork2.ActionSupport" /> > > And really, in my tests the default-action-ref don´t runs correctly. > default-action-ref not working! > ------------------------------- > > Key: WW-2525 > URL: https://issues.apache.org/struts/browse/WW-2525 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.11 > Environment: RAD 7, Windows XP > Reporter: Vijay > > It looks like default-action-ref feature is not working (even using struts > blank war) --- > web.xml > <filter-mapping> > <filter-name>struts2</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > struts.xml > <package name="example" namespace="/example" extends="struts-default"> > <default-action-ref name="HelloWorld" /> > <action name="HelloWorld" class="example.HelloWorld"> > <result>/example/HelloWorld.jsp</result> > </action> > The URL such as: http://localhost:9080/struts2-blank-2.0.11/example/ > throws 404. My understanding is the default path should bring up action > referenced in default-action-ref. > Thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.