我用JBuilder 调试项目时 经常碰到没有加载.hbm.xml配置文件,从浏览器进入项目时走的路径也不是web.xml中的默认路径,有哪位高手能帮我讲一下tomcat是怎么加载.xml配置文件的 越详细越好问题补充:
这是web.xml配置
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
debugjsp
Added to compile JSPs with debug info
org.apache.jasper.servlet.JspServlet
classdebuginfo
true
3
debugjsp
*.jsp