473,320 Members | 2,189 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

I don't want to store file in server while using MultipartRequest

17
Hi All,
My system file upload functionality..iam storing file content in DataBase by using Blob data type.

But my problem is MultipartRequest is automaticlly store the file in tomcat/bin directory..

Iam using following code;

MultipartRequest multi = new MultipartRequest(request, ".",100 * 1024 * 1024);

it's storing the file in "Default directory".i don't want that one,because iam storing file in data base itself.

Can you please tell me how to solve this problem.

Regards,
Akaley
Jul 1 '08 #1
1 1801
Dököll
2,364 Expert 2GB
Hey there good buddy!

It must be annoying; I am pretty knew at this but if hyou could post the whole code, I might be able to see something.

I would lso search here, or Google just in case.

Do stay tuned if nothing works, friendly passers-by may see your post and respond...

In a bit!
Jul 8 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: cv | last post by:
Hello All, I have used MultipartRequest like the following to upload images. MultipartRequest multi = new MultipartRequest(request, "../webapps/coreprogram/dealerlogos", 1024 * 1024); It...
1
by: Todd | last post by:
Is it possible to retrieve and pass the entire path to a file. ie. you search for a file on your hard drive using a form (<input type="file">) you then submit the form which passes the file path...
1
by: John C. Wallace | last post by:
I have written a Java application that will upload files and fields to a MultipartRequest servlet. However, I now need to do the same in C++. Although very similar, I do not know how to go about...
2
by: praveenkumarvpk | last post by:
Hi friends Please help me! Following is my servlet-code import java.util.Enumeration; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.