Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp/smtp/been problem  RSS feed

 
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!