[ https://issues.apache.org/struts/browse/WW-2525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46421#action_46421 ]
Adam Plumb commented on WW-2525: -------------------------------- FYI, this bug is still occurring for me in struts 2.0.14, its behavior is unchanged since 2.0.11. I've also tried the 2.1.x branch and default-action-ref does work then. For what its worth, I'm running linux, and have tried my code out on Ubuntu and CentOS. My java version is: (on both computers) java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) My tomcat version is 6.0.18. > 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 > Assignee: Don Brown > > 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.