http upload

Hello,Guys I need to write a JSP that will take a image from the form file field, and i want to store the image on the server in some directory.Can somebody give me the codeI need this ASAP.
[225 byte] By [osilekpl] at [2007-9-26 1:30:51]
# 1
HELP, ASAP!!!
osilekpl at 2007-6-29 1:29:32 > top of Java-index,Archived Forums,Java Programming...
# 2
See http://www.servlets.com/cos/index.html
neville_sequeira at 2007-6-29 1:29:32 > top of Java-index,Archived Forums,Java Programming...
# 3
whats this?
osilekpl at 2007-6-29 1:29:32 > top of Java-index,Archived Forums,Java Programming...
# 4
Well. The page you see on accessing the said URL tells you that the package com.oreilly.servlet has some utility class(es) for implementing file upload. Right ?
neville_sequeira at 2007-6-29 1:29:32 > top of Java-index,Archived Forums,Java Programming...
# 5
Can you please find me the right code for uploading files.Thank you for your help.
osilekpl at 2007-6-29 1:29:32 > top of Java-index,Archived Forums,Java Programming...
# 6
HElP guys?give me the code.
osilekpl at 2007-6-29 1:29:32 > top of Java-index,Archived Forums,Java Programming...