User Profile
Collapse
-
Thanx for the reply but thats not the issue Image is being saved at the location specified in Linux as well. The problem is in Linux somehow the endPos (end Position is not being identified correctly). so when writing the byte array, program throws index out of bound position. -
Image Upload using JSP as server side langauge
Hi,
I am using the following code to upload an image, i am able to upload the image and save in DB on Windows but the code fails somehow on Linux machine. Here is the code:
...Code:String contentType = request.getContentType (); if ((contentType != null) && (contentType.indexOf ("multipart/form-data") >= 0)) { DataInputStream in = new
No activity results to display
Show More
Leave a comment: