A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
struts deployment descriptor
Joined: Jan 05, 2005
Jan 06, 2005 04:17:00
Why is the action
always mapped to *.do in struts-config.xml.Can any other mapping be followed or the convention of using *.do should be continued.If so why.
Joined: May 29, 2003
Jan 06, 2005 08:20:00
I think at this point, it's just a matter of style. I usually end up forgetting the syntax of the DD so I copy it from the Struts website, ergo having *.do in my apps.
But you can map anything you want.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
subject: struts deployment descriptor
java bean in struts
how struts is following MVC if it doesn't give model
javax.servlet.jsp.JspException: Cannot find bean: "testList" in any scope
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014