<property name="app.home" value="." />////////////////一 这里的app.home指的是么
web 应用的根 <!-- The object files for this application -->
<pathelement location="${classes.home}"/>/////////////二 这句的作用是什么
看注释:就是放你这个web应用的classes的地方
<pathelement location="${tomcat.home}/common/classes"/>三 还有这句
好象也是找包用的
web 应用的根 <!-- The object files for this application -->
<pathelement location="${classes.home}"/>/////////////二 这句的作用是什么
看注释:就是放你这个web应用的classes的地方
<pathelement location="${tomcat.home}/common/classes"/>三 还有这句
好象也是找包用的
解决方案 »
- JSP中读取数据库中的数据问题
- nested exception is org.springframework.beans.TypeMismatchException: Failed to c
- struts action The requested resource is not available.
- SQL语句转HQL语句,高手请进
- 关于职业前景预测
- ejb中可以多个bean共用同一个远程或本地接口吗?
- Spring+Hibernate+Structs错误,Servlet action is currently unavailable
- 面试时候问你做项目的时候碰到的最大困难是什么?
- 急求servlet向JSP页面传送变量值的问题!
- 在JSP页面中写文件操作的代码安全吗?
- xWork配置问题
- 简单mysql的jdbc连接问题
二 pathelemnt specify your classpath,location="${classes.home}" designates than classpath location is what the variable classes.home defines,that is to say classpath=${app.home}/WEB-INF/classes=./}/WEB-INF/classes
三 same as the above
app.home只是定义的一个property,并不一定是web应用的根!只是定义app.home为当前目录!