Programmers please help me....I need u now!

Hello.

I m trying to upload images by JSP. I recieve the data from ServletInputStream and Pick up the file from the Stream. But when i check on the server...the image view changes after reaching tomcat server. I mean i get spoiled/corrupt image uploaded. Please guide me where i m misssing something that make image data corrupt.

plz help me...

atti

[382 byte] By [atti1614] at [2007-9-26 2:46:15]
# 1
Are you using a form to do file uploading? If so, take a look at this package for doing file uploads: http://www.servlets.com/cos/index.html
hungyee at 2007-6-29 10:29:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi,Download jspsmart.com smartUpload classes into your classpath and copy few lines from their how to examples into your client jsp. You need to hardcode the directory into which the file/image uploads..Thats all...Hope this works....
malu4ram at 2007-6-29 10:29:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...