k******d 发帖数: 8 | 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. | r***l 发帖数: 67 | 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.
| xt 发帖数: 17532 | 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.
|
|