today , I am re-learning the Struts 2 ,and take some notes .
1. about the devMode
a. it is good for devolopment ,and will reload the sourse like struts.xml ,web.xml etc. other than
re-start the sever .
b. however , it is the cost of the performance , so do not forget to remove it when you release
your project .
2. Constants can be declared in multiple files. By default, constants are searched for in the following order, allowing for subsequent files to override previous ones:
- struts-default.xml included in the struts2.jar file
- struts-plugin.xml
- struts.xml
- struts.properties
- web.xml
分享到:
相关推荐
Struts is a set of cooperating classes, servlets, and JSP tags that make up a reusable MVC 2 design. This definition implies that Struts is a framework, rather than a library, but Struts also contains...
ASP.NET MVC has had the benefit of learning from other popular MVC frameworks, such as Struts, WebWork, Tapestry, Rails, MonoRail, and others. It also came about as C# started to push away its fully ...
- Explains the concept of parallel assignment, where multiple variables are assigned multiple values in a single statement, e.g., `a, b = 1, 2`. 8. **Symbols** - Introduces symbols, a data type ...
Procedures for the entire system is only one of the modules, and all procedures for lovers to exchange purposes. Usage: (1) in the oracle database to run the database script file cnc.sql. (2) to use ...
1. 依赖注入(Dependency Injection,DI):Spring通过控制反转(Inversion of Control,IoC)来实现DI,使得对象之间的关系由Spring管理,而不是由对象自身负责。 2. 面向切面编程(Aspect-Oriented Programming,...
Spring的核心包括IOC(Inversion of Control,即依赖注入)和AOP(Aspect Oriented Programming,面向切面编程)。在lib包中,你会看到诸如spring-beans、spring-context、spring-web等模块的jar文件,它们分别对应...
农业是我们国家的Struts,占印度经济总量的 7%。 农业驱动因素在预测不同土壤品种的产量方面面临着巨大的问题。 目前,与过去几十年的其他部门相比,农业领域尖端技术的使用尚不发达。 与过去四五年相比,农民的自...