When using Tomcat, there is a work folder that is a directory of Web work caching: Used to store compiled JSP files, and when we build a Web project with Eclipse, it seems that the default is in the Tomcat directory. When we want to modify the directory, in Tomcat's conf/ When catalina/loaclhost/web_name.xml, it conflicts with Eclipse's project configuration file, and you want to change the cached file to the work folder in the project root. After referencing the following Web site:
Http://hi.baidu.com/xbinliao/blog/item/ba1d5b63fc8078640c33fad8.html
The context.xml file under the Mata-inf folder is the context property that sets the current project. Put Web_name.xml files under Mata-inf folder, Change the name to Context.xml. Once a project in eclipse, restart Tomcat. After running, the project root directory generates the cached files for the current project under the work file. Big announcement into.
Description: Mata-inf and Web-inf are folders in the same directory. Are files that cannot be accessed externally.