Topic: JAVABEAN应放在什么目录?

  Print this page

1.JAVABEAN应放在什么目录? Copy to clipboard
Posted by: fly21
Posted on: 2003-01-09 19:34

JAVABean写好了,应放在tomcat的哪个目录。我放到class下,运行失败,快要晕了,望各位高手指点。先谢谢。

2.Re:JAVABEAN应放在什么目录? [Re: fly21] Copy to clipboard
Posted by: chaohui
Posted on: 2003-01-09 22:50

你应该把javaBean编译生成的.class文件放在WEB-INFO目录下的class目录中。如果是jar文件放在web-info目录的lib目录下

3.Re:JAVABEAN应放在什么目录? [Re: fly21] Copy to clipboard
Posted by: floater
Posted on: 2003-01-09 22:52

<document root>/WEB-INF/classes for classes
<document root>/WEB-INF/lib for jars

WEB-INF is all caps.

4.Re:JAVABEAN应放在什么目录? [Re: fly21] Copy to clipboard
Posted by: freeman99
Posted on: 2003-01-10 15:43

floater is right.

5.Re:JAVABEAN应放在什么目录? [Re: fly21] Copy to clipboard
Posted by: fly21
Posted on: 2003-01-26 17:13

谢谢各位,JavaBean成功运行。

6.Re:JAVABEAN应放在什么目录? [Re: fly21] Copy to clipboard
Posted by: whisperwind
Posted on: 2003-01-28 10:59

最好打成jar包,放在web-inf/lib目录下

7.Re:JAVABEAN应放在什么目录? [Re: fly21] Copy to clipboard
Posted by: leslieshen
Posted on: 2003-01-29 23:52

打好包的就在lib下, 不打的就放在class下


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923