mraible wrote:
I'm trying to change from using the old-style URLs to Restful2ActionMapper.
What do you want your URLs to be for the various actions?
If you really just want the view to look restful, you don't need to muck
with the ActionMapper at all:
/user/bob.html to view bob
<package name="viewUser" namespace="/user" extends="struts-default">
<action name="*" class="userAction" method="view">
<param name="username">{1}</param>
<result name="success">/WEB-INF/pages/viewUser.jsp</result>
<result name="badID">/404.jsp</result>
</action>
</package>
Presumably if you set slashesInActions you can do this without a
separate package.
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]