Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp/smtp/been problem

 
yaser albow
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I develop Been to send mail using sun.net.smtp.SmtpClient
When I run the class as standalone it’s work but when I use it
From jsp don’t work and throws Exception
java.security.AccessControlException: access denied
java.lang.RuntimePermission accessClassInPackage.sun.net.smtp.
I can’t use securityManager in been .
If any body have any idea about problem and how I can solve it.
 
Message for you sir! I think it is a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!