User Profile

Collapse

Profile Sidebar

Collapse
Wazzz
Wazzz
Last Activity: Nov 29 '07, 05:02 AM
Joined: Nov 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Wazzz
    replied to Image Upload using JSP as server side langauge
    in Java
    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.
    See more | Go to post

    Leave a comment:


  • Wazzz
    started a topic Image Upload using JSP as server side langauge
    in Java

    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
    ...
    See more | Go to post
No activity results to display
Show More
Working...