How to read attachment messages without using scriptlets in JSP?
Posted
by Stardust
on Stack Overflow
See other posts from Stack Overflow
or by Stardust
Published on 2010-04-11T20:30:16Z
Indexed on
2010/04/11
20:33 UTC
Read the original article
Hit count: 317
Hi,
I want to know how can I read attachment messages without using scriplets in JSP? After getting Message object as an attribute by using request object from servlets, how can I confirm whether Message content is an instance of Multipart or not without using scriplets like:
if(message.getContent() instanceOf Multipart)
How can I read the content of any file by using EL in JSP? As I can't see any getRead method in inputStream subclass.
© Stack Overflow or respective owner