Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 17th, 2007, 08:51 PM
Authorized User
 
Join Date: Jul 2006
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ironchef
Default Serializing photos/files to a database w/ MySQL

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
__________________
<b>IronChef</b> - http://www.freewebs.com/cool_recipes
Reply With Quote
  #2 (permalink)  
Old December 19th, 2007, 11:28 PM
jomet
Guest
 
Posts: n/a
Default

Hi,

similar topic already there..
http://p2p.wrox.com/topic.asp?TOPIC_ID=30147




jomet.
---------------------------------------------
Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add 5 more photos js32821 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 September 3rd, 2007 12:48 PM
Displaying photos via a database Mike707 Dreamweaver (all versions) 12 April 17th, 2006 12:33 AM
Ridiculus photos shapira BOOK: Professional Crystal Reports for VS.NET 0 March 7th, 2005 08:11 PM
Uploading Photos microchip Classic ASP Basics 6 April 25th, 2004 10:15 AM
Photos in access kev_79 Access 1 July 24th, 2003 02:24 PM



All times are GMT -4. The time now is 11:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.