Topic: 请教:JDK中接口Servlet包装在哪个包中? |
Print this page |
1.请教:JDK中接口Servlet包装在哪个包中? | Copy to clipboard |
Posted by: xiaosi Posted on: 2004-08-23 10:36 好些书上写 import javax.servlet.*; 那么,就应该在package servelet中阿,可是,我在java文档中怎么找不到阿,而且,在程序中写 import javax.servlet.*; 时,编译错误 package javax.servlet doesn't exit; 请问大虾,这是怎么回事? 我的jdk 版本是 j2sdk1.4.1_05 |
2.Re:请教:JDK中接口Servlet包装在哪个包中? [Re: xiaosi] | Copy to clipboard |
Posted by: why Posted on: 2004-08-23 11:07 请尽量用准确的文字描述作为标题 发贴前请使用搜索功能查找相关主题 on this forum and on your favourite search engine Answer: servlet is part of J2EE, it's not included in J2SE SDK. The name and the location the jar file[s) would depend on the web container. For example, it is servlet.jar or servlet-api.jar for Tomcat under $CATALINA_HOME/common/lib; and is j2ee.jar for Sun's J2EE SDK, I think. |
3.Re:请教:JDK中接口Servlet包装在哪个包中? [Re: xiaosi] | Copy to clipboard |
Posted by: kanlou Posted on: 2004-08-27 09:53 在j2ee的文档中,不在j2se的文档中。 |
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 |