A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
web.xml and struts-config.xml
Joined: Oct 24, 2009
Nov 24, 2009 03:18:38
We configure struts-config.xml in our web.xml.
Does it mean only web.xml file is read during container startup.
or does the container read both files during startup.
Joined: Aug 03, 2008
Nov 24, 2009 04:25:11
The container only reads the web.xml file. The sturts-config.xml is read by the
framework. Also as far as I remember, it is not compulsory to declare struts-config.xml in web.xml. You just need to define the ActionServlet as a
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
I agree. Here's the link:
subject: web.xml and struts-config.xml
Using Tiles with JSF (no struts)
Cannot find ActionMappings or ActionFormBeans collection
Are listener and filter objects reused after a context reload?
Struts - Error - "Cannot find ActionMappings or ActionFormBeans collection"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015