On Tuesday 14 April 2009 10:55:06 Bhaarat Sharma wrote: > > I am lost as to why <s:url action="curd!delete" > > shouldnt the action be just "crud" what does the exclamation mark and > delete do?? is that a shorthand for something or is that just an action > name and if it is an action name then why is it not defined in struts.xml >
That denotes that the "delete" method on the action should be called. I'm not sure if it would even work. I think there is a configuration parameter you have to turn on to be able to specify method names with the exclamation point. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org