建议用resin2.1.4以后,其配置很简单。
解决方案 »
- 如何将下面的sql语句转换为hibernate的 hql语句
- fckeditor+struts2 上传图片问题
- c:forEach问题
- 请教一个map的问题
- HTML标签中,哪个标签能够起到空格的作用?除了 之外
- myeclipse调试JSP的如何操作,要详细的
- 关于jfreechart:如何使两条曲线使用不同的颜色(100分)!!
- 用网页登录数据库,如果登录失败,就显示"失败!请重性登录"
- 关于jsp与javabean ,问题到底出现在哪里?高手请教!!
- 请问诸位侠客:JRun+JSP+orcale+win2000中连接orcale的BUG.
- 急需tomcat下数据库连接池 连接 的实例( jdbd-odbc ),感谢~~~
- 如何判断一个用户提交的表单的写法是合法的!例如:密码只是数字的,用户名是字母的!!
docBase: The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is being executed directly from the WAR file). You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host.
如果按你现在这样的配置,应该建立这样的目录结构:%tomcat_home%/webapps/sites/bhp。
否则的话,docBase必须写绝对路径:<Context path="/bhp" docBase="c:/sites/bhp"/>
只要注意docBase为绝对路径就可以了
<Context path="/bhp" docBase="c:/sites/bhp" debug="0"
reloadable="true" />
good luck!如果tomcat 版本不是太高,可以使用jdk1.3,有时jdk1.4可能有问题