I would like to replace the default action in a struts2 application which is using smarturls. SmartUrls seems to default to ActionSupport for and actions which aren't defined in the struts.xml file and don't have a class file that matches the url pattern.
I have set the struts properties file to be: smarturls.action.packages=com.mycompany.actions struts.action.extension= smarturls.action.default.parent.package=mypackage And have the following package declared in struts.xml: <package name="mypackage" extends="struts-default" namespace="/"> <default-class-ref class="com.mycompany.actions.PrototypeAction"></default-class-ref> </package> But when I load the following url http://localhost:8080/myapp/randomUrl it seems to still be using ActionSupport as the default class instead of the default class declared in the default parent package. Does anybody know how to override the default of ActionSupport? -- View this message in context: http://www.nabble.com/SmartUrl-Default-Action-tp14734105p14734105.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]