This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Multiple Attachment Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply locked New topic
Author

Multiple Attachment Problem

nandhini sruthi
Greenhorn

Joined: Jan 11, 2008
Posts: 17
Hi,
I got the following error while sending attachment
ERROR.....java.lang.ArrayIndexOutOfBoundsException: 5

I am using 5 browse.. for attach file
if i attach 5 file paths means multiple attachment working properly,but if i attach 1 or 2 file paths i got the error.

i post my code here

Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Multiple Attachment Problem
 
Similar Threads
Send PDF in JavaMail
Java mail attachement problem
Multiple Attachment
JavaMail installation
Multiple Attachment