Solved

jsp javax.mail

Posted on 2004-04-16
1
225 Views
Last Modified: 2010-03-31
From what I heard, to use javaMail, had to set classpath=...\mail.jar replacing ...\j2ee.jar in j2ee1.4. So it works that way when I ran a java app.

Now when I am trying to call a bean from a jsp, it says: "NoClassDefFoundError: javax/mail/Message"

What gives?
0
Comment
Question by:menubar
1 Comment
 
LVL 35

Accepted Solution

by:
TimYates earned 50 total points
ID: 10840116
Using Tomcat?

Put the mail.jar file in

webapps/your-app/WEB-INF/lib

Don't touch the classpath
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now