When I'm going though struts2, I came through a typical question.
The question is that can I change the name of struts.xml
file to some other thing and make it work?
相关问题
- Illegal to have multiple roots (start tag in epilo
- Java/Struts2: How to get action name from current
- Newtonsoft DeserializeXNode expands internal array
- how to use special characters like '<'
- XML - XSLT - document() function inside count() fu
相关文章
- Creating XML Elements without namespace declaratio
- Get Attribute Value From Simple XML Using JQuery /
- Directly signing an Office Word document using XML
- When sending XML to JMS should I use TextMessage o
- Struts2 file upload max size
- Fragment Content Overlaps Toolbar and Bottom Navig
- Getting “Error: Missing Constraints in ConstraintL
- xslt localization
You can do that using your
web.xml
Also, if you use the
struts.properties
you can do something like:You cannot change the name of struts.xml. You can, however, break up the Struts configuration among several configuration files which are named in strtus.xml.
For more details see this