tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Euclides da Silva Junior - DIGR.O" <jose.eucli...@rj.previdenciasocial.gov.br>
Subject RES: importing javax.mail.* from within JSP servlets
Date Wed, 29 Nov 2000 14:00:38 GMT
-----BEGIN PGP SIGNED MESSAGE-----

I have the same doubt too, but in WINDOWS NT - 4.0 environment.

José Euclides Júnior
__________________________________
E-mail: jose.euclides@rj.previdenciasocial.gov.br
            javabrasil@usa.net 
            bl1link@usa.net
http://euclides.8m.com
If i fail, if i succeed, at least i live as i believe.

- -----Mensagem original-----
De:		giorgio@dimi.uniud.it [SMTP:giorgio@dimi.uniud.it]
Enviada em:		Quarta-feira, 29 de Novembro de 2000 10:21
Para:		tomcat-user@jakarta.apache.org
Assunto:		importing javax.mail.* from within JSP servlets

I'm using tomcat3.1+apache and jdk1.3.0_01 on linux redhat 6.2.
I'm not using j2ee but usually (i.e. outside servlets) import its
packages. 

I'm trying to write a jsp that imports javax.mail.* (from j2ee.jar) 
but jasper complains 
with "Package javax.mail not found in import.
import javax.mail.*;"

I tried to put the i2ee.jar file almost everywhere, including

..../tomcat/lib
....<my_application_context>/lib
/usr/java/jdk1.3.0_01/lib/
in the classpath environment var used by tomcat.sh
...../tomcat/conf/tomcat.properties:
       wrapper.classpath="/usr/java/j2sdkee1.2.1/lib/j2ee.jar" 

but nothing suceeded so far.

What should I do?

Thanks a lot.

Giorgio Brajnik
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1

iQCVAwUBOiUl8d0YhuJ3BUxtAQETYAP+Pg4Wvr/2HNIN0pwU5PwwDBDJgc07n0t7
hVzMOjpqwOO1IIIvTDqpKGvzSQNmRPFLsPhGtM4LaBcDYr613S2R11ajLn6JOzEI
850e+QrCRjN0decyH/6c+tRXtIMCMG+s0kx5OfJ4xIvhiURqmrwf3xqBq3xIjOII
ZO83M8S4frE=
=QErM
-----END PGP SIGNATURE-----

Mime
View raw message