FAQs
Search
Recent Topics
Flagged Topics
Hot Topics
Best Topics
Register / Login
Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Liutauras Vilda
Bear Bibeault
Junilu Lacar
Martin Vashko
Sheriffs:
Jeanne Boyarsky
Tim Cooke
Knute Snortum
Saloon Keepers:
Ron McLeod
Tim Moores
Stephan van Hulst
Tim Holloway
Carey Brown
Bartenders:
Scott Selikoff
salvin francis
Piet Souris
Forum:
Other Application Frameworks
inline image for email from relative path
Rajan Nath
Greenhorn
Posts: 22
posted 11 years ago
Hi,
I am using spring for inline image
portion of the code is like
MimeMessageHelper helper = new MimeMessageHelper(mimeMessage, true);
helper.setTo(to);
helper.setFrom(from);
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
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
Post Reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Backgrounds in Applets
reading from file
dynamic Image in table: webuijsf:table
Writing Image from Applet
set return path in MimeMessage
More...