Will the mail component mail.jar and activation.jar should be placed somewhere?

Category: Web Develop
 
ttxllai
2009-03-11 01:13:40

Sponsored Links
Will the mail component mail.jar and activation.jar should be placed somewhere?

Sponsored Links

guichange2004
2009-03-11 01:18:13
where you can actually put Ah!

example, you put d: \ mail \

then, set classpath =% classpath%; d: \ mail \ mail . jar; d: \ mail \ activation.jar;
coolswordsman
2009-03-11 01:21:25
Why do I always get this error?
org.apache.jasper.JasperException: Unable to compile D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ javamail_1.java: 6: Package javax.mail not found ; in import.
import javax.mail. *;
^
D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ javamail_1.java: 7: Package javax.mail.internet not found in import.
import javax.mail.internet. *;
; ^
D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ javamail_1.java: 8: Package javax.activation not found in import.
import javax.activation. *;
ladey
2009-03-11 01:26:44
Why do I always get this error?
org.apache.jasper.JasperException: Unable to compile D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ javamail_1.java: 6: Package javax.mail not found ; in import.
import javax.mail. *;
^
D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ javamail_1.java: 7: Package javax.mail.internet not found in import.
import javax.mail.internet. *;
; ^
D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ javamail_1.java: 8: Package javax.activation not found in import.
import javax.activation. *;
gzy0902
2009-03-11 01:33:13
the WEB-INF/lib inside try
pphoenix1213
2009-03-11 01:35:49
try to put them under d : \ tomecat \ lib \

and add this path to the classpath
JINGONG111
2009-03-11 01:38:21
or not.
I place it jdk1.3.1 \ lib directory, classpath = jdk1.3.1 \ lib \ mail.jar; jdk1.3.1 \ lib \ activation.jar, but when I use
<% @ page import = "javax.mail. *, javax.mail.internet. *, javax.activation. * "%> when he says I can not find the error code is:
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ sendmail_1.java: 6: Package javax.mail not found in import.
import javax.mail. *;
^
D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ sendmail_1.java: 7: Package javax.mail.internet not found in import.
import javax.mail.internet. *;
^
D: \ tomcat \ work \ DEFAULT \ defaultroot \ email \ sendmail_1.java: 8: Package javax.activation not found in import.
import javax.activation. *;
^
3 errors
how else? strange ah? I see some tutorials to very easy to do a good job, why do not I always?
weizhong0726
2009-03-11 01:47:12
Why is your jdk1.3.1 \ lib without a preceding plus letter?

try to put it in d: \ tomcat \ lib below, and then put this directory to the classpath.

zkpacs2009
2009-03-11 01:54:35
all add up, but the time to write a little lazy!
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.