So if you use the default-action-ref, what do you put in the web.xml? Can you leave it empty?
-Ryan -----Original Message----- From: Adam Lister [mailto:alis...@mit.edu] Sent: Friday, January 16, 2009 1:59 PM To: Struts Users Mailing List Subject: Re: application entry point You can use default action mappings and wildcard mappings to go to a specific action by default. Easiest way seems to be something like: <default-action-ref name="MyEntryAction"> In your struts.xml. It's detailed here: http://struts.apache.org/2.0.14/docs/action-configuration.html#ActionCon figuration-ActionDefault Andy wrote: > What is the recommended design for adding an entry point into a Struts2 application instead of using <welcome-file> in web.xml? > > > _________________________________________________________________ > Windows Live(tm) Hotmail(r): Chat. Store. Share. Do more with mail. > http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_hm_justgotbette > r_howitworks_012009 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org