User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 392,083 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,948 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 2694 | Replies: 0
Reply
Join Date: Dec 2006
Posts: 11
Reputation: kalaiselvi.v is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
kalaiselvi.v kalaiselvi.v is offline Offline
Newbie Poster

Upload a word file into mysql database

  #1  
Jul 16th, 2007
File file = new File("filename");
FileInputStream fis = new FileInputStream(file);
len = (int)file.length();
//prepared stmt
st.setBinaryStream(1, fis, len);

I have uploaded the file into mysql database from servlet program.
But how to read that file or tell me how to upload a doc into the database.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Java Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 12:26 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC