This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes problem with sending email/jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "problem with sending email/jsp" Watch "problem with sending email/jsp" New topic

problem with sending email/jsp

aydeniz kirmizi
Ranch Hand

Joined: Aug 20, 2009
Posts: 38

I am trying to send email in my application. For that I need mail.jar and activation.jar. I downloaded both of the jar files and I put them
in my jre/lib.ext library.. But whenever I try to compile my application it says :

package javax.mail does not exist for this line and all the following lines.

I tried to put the same jar files in the directory of jboss-4.2.3.GA\server\default\lib , but still does not work.. Do I need to plug-In anything in Netbeans or do I need to do any extra thing? I searched on the internet and tried everything but did not work..

Any advice please?

Many thanks..

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60783

Please do not use all uppercase when posting. I have adjusted your very loud topic title for you. Please read this for more information.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
aydeniz kirmizi
Ranch Hand

Joined: Aug 20, 2009
Posts: 38
I have just solved this problem. I needed to add the jar files within NetBeans. Right click on the Project, Properties, Library, add jar file.
This solved my problem.
I agree. Here's the link:
subject: problem with sending email/jsp
Similar Threads
What jar files do I need to use jstl in my jsp on tomcat 6.0.24 ?
importing jar/packages into j2me app
using JSTL
Where do I put pre-compiled JSP's?
Custom Policy Setting, Jboss, EAR deployment issue