On the next beautiful day: Fri, 29 July, 2005, Dave Newton wrote: > Tomasz Nazar wrote: > > >But Laurie, do you know if it is possible to use those wildcards so they > >can rewrite patterns to include more parameters? > > > > /context/department/*/employee/*/view > > -> > > /context/employee/view.do?departmentOID={1}&employeeOID={2} > > > >Will struts handle that properly? I doubt if that's possible, cause in > >this case I need to pass two parameters to the action. > ><action > > path="/department/*/employee/*" > > ???="??? {1} ??? {2}" > > > > > > <!-- Admin table CRUD actions requiring a parameter/id. --> > <action path="/Admin/*/*/*" > type="actions.AdminCrud" > name="adminForm" > parameter="needId" > <forward name="list" path="/do/Admin/{1}/List" redirect="true"/> > <forward name="tableOk" path="/WEB-INF/jsp/crud_{1}_{2}.jsp"/> > </action>
Man, you're quick ;) Looks acceptable for the beginning. Thanks. And those "tables" sound scary ;) Tomasz -- _i______'simplicity_is_the_key'__________tomasz_nazar _ii____'i_am_concern_oriented'__________________iiuwr _iii__'patsystem.sf.net'___________________linux_user _Heaven_&_Fellows,_PPP______________________prevayler --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]