Okay, so I am creating a website and when a user creates his/her profile, they have the option of uploading a file to put on their personal page. The only problem is I have no clue how to do this. And please don't use any type of framework. So far I have the form:
<<< Upload.jsp >>>
...some html w/
js validation...
<form action="uploadAction.jsp" name="frmUploadPic" onsubmit="return validate(this)" method="get">
<input type="file" name="fileUploadedFile" accept="image/*"/>
<input type="submit" value="Upload" />
</form>
...other html...
So i really just need the code for uploadAction.jsp. It should save it to a database using MySQL, and make it avaliable for later use. Thanks!
P.S. If you could, do you think you can give me the code for displaying it on the user page? I mean, how to retrieve it from the database and display it.
IronChef -
http://www.freewebs.com/cool_recipes