Register / Login
Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
permaculture is giving a gift to your future self. After reading this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
Boost this thread!
Backgrounds in Applets
reading from file
dynamic Image in table: webuijsf:table
Writing Image from Applet
set return path in MimeMessage