Re: give error in upload a image in tomcat 6 but works well in tomcat 4

2008-07-01 Thread Rainer Jung
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

RE: give error in upload a image in tomcat 6 but works well in tomcat 4

2008-07-01 Thread sur_1805
but i m not using windows i m working on linux, and i had given the full path... Walter Thompson wrote: > > I have run into a simular problem going from Tomcat 5 to Tomcat 6, I had > to set many of the file paths as absolute. > > Try changing : > > save_File ="/data2/opt/jakarta

Re: give error in upload a image in tomcat 6 but works well in tomcat 4

2008-06-13 Thread Christopher Schultz
-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

RE: give error in upload a image in tomcat 6 but works well in tomcat 4

2008-06-13 Thread Walter Thompson
I have run into a simular problem going from Tomcat 5 to Tomcat 6, I had to set many of the file paths as absolute. Try changing : save_File ="/data2/opt/jakarta-tomcat-4.1.24/webapps/Oa/BOG/" + saveFile; To : save_File ="C:(Plus anything in front of)/data2/opt/ja