Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other Application Frameworks
inline image for email from relative path
posted 11 years ago
I am using spring for inline image
portion of the code is like
MimeMessageHelper helper = new MimeMessageHelper(mimeMessage, true);
helper.addInline("abc", new File("c:/Sample.jpg"));
It is working but if I want the image should be taken from some jar file
so that I had given a path like "\com\ind\Sample.jpg"
Its not working
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
Boost this thread!
Backgrounds in Applets
reading from file
dynamic Image in table: webuijsf:table
Writing Image from Applet
set return path in MimeMessage