avatar
where is my j2ee.jar file# Java - 爪哇娇娃
k*d
1
I installed j2ee 1.4, tomcat 4 on win2k, I can't compile java
files which import javax.servlet.*
Be aware of that I need to have j2ee.jar which include the servlet package,
I do a search but I can't find it anywhere. Please help.
avatar
r*l
2
Not quite sure if there is a j2ee.jar.
J2EE 1.4 contains sun's implementation of J2EE application server, J2SE1.4,
JSF, JSTL and some sample code.
If you just want to develop servlet application, servlet.jar comes with tomcat
should be good enough. Make sure servlet.jar is under your classpath.

【在 k******d 的大作中提到】
: I installed j2ee 1.4, tomcat 4 on win2k, I can't compile java
: files which import javax.servlet.*
: Be aware of that I need to have j2ee.jar which include the servlet package,
: I do a search but I can't find it anywhere. Please help.

avatar
xt
3

j2ee.jar comes with J2EE only. You should use the correct j2ee.jar for
Sun or IBM JDK.

【在 r***l 的大作中提到】
: Not quite sure if there is a j2ee.jar.
: J2EE 1.4 contains sun's implementation of J2EE application server, J2SE1.4,
: JSF, JSTL and some sample code.
: If you just want to develop servlet application, servlet.jar comes with tomcat
: should be good enough. Make sure servlet.jar is under your classpath.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。