By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,784 Members | 1,188 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,784 IT Pros & Developers. It's quick & easy.

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

P: 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
Share this Question
Share on Google+
1 Reply


Dököll
Expert 100+
P: 2,364
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

Post your reply

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