Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Re: how to send an e-mail from jsp


Message #1 by "Sasi" <sasisundar@h...> on Tue, 15 May 2001 14:24:55
> I have been exploring the sun java web site, where you need to
> download the
> JavaMail API and the JAF framework.  The only problem is, it mentioned to
> set the CLASSPATH environment variable to inlcude the API and in the JAF
> website it also mentioned to set the CLASSPATH environment variable to
> include the JAF (i.e .jar file when downloaded).
>
> Am not the best person when it comes to autoexec files, but can
> you have two
> CLASSPATH environment varibles?
>
You can have multiple entries in the classpath (in fact, you must :) as you
also need the J2EE jar in it).
Separate entries with a semi-colon on Windows, a colon on *nix.

> If possible, can somebody please tell me how to set this up, so
> that the API
> and JAF will both work?
>
set classpath=%classpath%;<javamail-jar>;<jaf-jar>;<pop3-jar>;. <-- that
period is part of the classpath, really important especially on NT/Win2000
and *nix!
>


  Return to Index