Should all action classes be listed in struts.xml? Can the struts2 structure know action classes if they are not specified in struts.xml?
Reference Information. I'm relatively new to the layout, and I was asked to clear some struts2 code. There are several classes that are not mentioned in struts2.xml, jsp or javascript (I did a string search). I was wondering if I could remove them.
EDIT: I am sure that these classes are not used by other Java classes / libraries. This is what interests me.
To be used in their intended form as a web action, one of the following four possibilities must be true:
, , struts.xml, , , , .
- *.xml . struts.xml XML , XML .
, Struts2 XML . , Struts2 , struts, struts2, action actions, com.opensymphony.xwork2.Action , Action. , . . (http://struts.apache.org/2.1.6/docs/convention-plugin.html) , .
, . .
- struts.xml, , . , struts.xml. , .
Source: https://habr.com/ru/post/1787618/More articles:Find how many times each number appears in the list - listParsing XML / XHTML with Regex - domSQL Server UTC local time - sqlRegular expression. Match everything except the first letter in each word in a sentence - regexThe regex that I use does not allow characters - c #To restart the application from the main screen, and not from the screen that we left on - objective-cHow to change default default LookAndFeel for the whole application? - .netSimple data binding does not work - c #Error: the path must include the name of the project and the resource: / in the eclipse IDE - javaДополненная реальность iphone - objective-cAll Articles