sur_1805 schrieb:
I am using tomcat 4 and write jsp page to upload a image in server it works
with tomcat 4 but it gives error in upload image in tomcat 6 with the same
jsp page .It gives some java.lang.IndexOutOfBoundsException
If you are using 6.0.16 and the size of the uploaded images os bi
the drive, directories,
> subdirectories to the final destination.
>
>
>
> -Original Message-
> From: sur_1805 [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 13, 2008 7:39 AM
> To: users@tomcat.apache.org
> Subject: give error in upload a image in tomcat 6 b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sur,
sur_1805 wrote:
| I am using tomcat 4 and write jsp page to upload a image in server it
works
| with tomcat 4 but it gives error in upload image in tomcat 6 with the
same
| jsp page .It gives some java.lang.IndexOutOfBoundsException
Care to po
08 7:39 AM
To: users@tomcat.apache.org
Subject: give error in upload a image in tomcat 6 but works well in
tomcat 4
I am using tomcat 4 and write jsp page to upload a image in server it
works with tomcat 4 but it gives error in upload image in tomcat 6 with
the same jsp page .It gives some java.lang.IndexOut
oundaryLocation)).getBytes()).length;
// creating a new file with the same name and writing the
content in new
file
FileOutputStream fileOut = new FileOutputStream(save_File);
fileOut.write(dataBytes, startPos, (endPos - startPos));
fileO
--
View this message in context:
http://www.nabble.com/give-error-in-upload-a-image-in-tomcat-6-but-works-well-in-tomcat-4-tp17822410p17822410.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a