struts2 - Regarding Struts configuration files -


where need put struts configuration files in web application? and, differences between struts.xml , struts-config.xml? struts 2 applications, 1 should use?

thanks.

as indicated in vinodh's link, struts.xml default name of configuration file in struts2. struts-config.xml struts1 configuration file, , should not used in struts2.

your struts.xml file should @ root of class path once web app built, located in web-inf/classes. can accomplish placing in source folder. if use maven 2 standard directory layout, place in src/main/resources.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -