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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akaley
    New Member
    • Nov 2007
    • 17

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

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

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

    Iam using following code;

    MultipartReques t multi = new MultipartReques t(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
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    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!

    Comment

    Working...