Science, asked by Shaiza1750, 1 year ago

Name some useful annotations introduced in Struts2?

Answers

Answered by RockyAk47
0
As mentioned previously, Struts provides two forms of configuration. The traditional way is to use the struts.xml file for all the configurations. We have seen so many examples of that in the tutorial so far. The other way of configuring Struts is by using the Java 5 Annotations feature. Using the struts annotations, we can achieve Zero Configuration.

To start using annotations in your project, make sure you have included the following jar files in your WebContent/WEB-INF/lib folder −

struts2-convention-plugin-x.y.z.jar

asm-x.y.jar

antlr-x.y.z.jar

commons-fileupload-x.y.z.jar

commons-io-x.y.z.jar

commons-lang-x.y.jar

commons-logging-x.y.z.jar

commons-logging-api-x.y.jar

freemarker-x.y.z.jar

javassist-.xy.z.GA

ognl-x.y.z.jar

struts2-core-x.y.z.jar

xwork-core.x.y.z.jar

Similar questions