Kleber:

O pacote Servlet e HttpServer NAO estao no jdk Standard Edition, mas sim no 
jdk Enterprise Edition.  Se voce tiver somente instalado o jdk 1.3 em sua 
maquina, instale o jdk enterprise edition tambem.  NAO desinstale o 
primeiro, pois um complementa o segundo.

Apos instalar os dois voce precisa mudar o path e classpath variaveis em seu 
computador.

Veja Exemplo dado no site da Sun Java:

J2EE Software and Setup

To run the tutorial examples, you need to download and install the Java 2 
SDK Enterprise Edition (J2EE), Version 1.2.1 Release ( 
http://java.sun.com/j2ee/download.html ), and Java 2 SDK, Standard Edition 
(J2SE), Version 1.2 or later (http://java.sun.com/jdk/index.html).

The instructions in this tutorial assume J2EE and J2SE are both installed in 
a J2EE directory under monicap's home directory.

Note: Everywhere monicap is used in a path name, please change it to your 
own username.

Unix:

/home/monicap/J2EE/j2sdkee1.2.1
/home/monicap/J2EE/jdk1.2.2

Windows:

\home\monicap\J2EE\j2sdkee1.2.1
\home\monicap\J2EE\jdk1.2.2

Path and ClassPath Settings

The download has the J2EE application server, Cloudscape database, a Web 
server using secure socket layer (SSL) also known as HTTP over HTTPS, 
development and deployment tools, and the Java APIs for the Enterprise. To 
use these features, set your path and class path environment variables as 
described here.

Path Settings

Path settings make the development and deployment tools accessible from 
anywhere on your system. Make sure you place these path settings before any 
other paths you might have for other older JDK installations.

Unix:

/home/monicap/J2EE/jdk1.2.2/bin
/home/monicap/J2EE/j2sdkee1.2.1/bin

Windows:

\home\monicap\J2EE\jdk1.2.2\bin
\home\monicap\J2EE\j2sdkee1.2.1\bin

Class Path Settings

Class path settings tell the Java 2 development and deployment tools where 
to find the various class libraries they use.

Unix:

/home/monicap/J2EE/j2sdkee1.2.1/lib/j2ee.jar

Windows:

\home\monicap\J2EE\j2sdkee1.2.1\lib\j2ee.jar




Eu fiz conforme dito acima e funcionou.  Me de^ um toque se a dica valeu ou 
nao.

Boa sorte

Paulo Brasko




>From: "Kleber Rodrigo de Carvalho" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [SouJava-J] Meu primeiro servlet
>Date: Wed, 5 Jul 2000 14:52:30 -0300
>
>Fiz meu primeiro servelt, mas d� o seguinte erro:
>
>Package javax.servlet not found in import.
>import javax.servlet.*;
>
>Para onde eu preciso copiar o arquivo  servlet.jar ou o que eu preciso 
>fazer para conseguir compilar o servlet ?
>
>Obrigado
>Atenciosamente
>
>[]'s
>==============================================
>Kleber Rodrigo de Carvalho
>Site Engineer
>http://www.krc.cjb.net
>UIN: 21311977
>
>i4vision - Internet Solutions
>(19) 422-0717
>http://www.i4vision.com.br
>==============================================
>
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

    --------------------------- LISTA SOUJAVA ---------------------------
    http://www.soujava.org.br  -  Sociedade de Usu�rios Java da Sucesu-SP
    [d�vidas mais comuns: http://www.soujava.org.br/faq.htm]
    [para sair da lista: http://www.soujava.org.br/forum/cadastrados.htm]
    [regras da lista: http://www.soujava.org.br/regras.htm]
    ---------------------------------------------------------------------

Responder a