Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

fileupload- default file name-ujent help

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi I am using the com.oreilly.servlet.MultipartRequest for uploading the file, but I want to set the default file value in HTML, beacuse it is fixed file which I want to upload.How to do this ?I have tried like this but servlet is giving file as "null".
<INPUT TYPE=FILE NAME=file value="E:/mail/NewTest.class">
Please solve my problem.
Can any body help me?;
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Oddly enough, someone else asked the exact same question here! http://www.javaranch.com/ubb/Forum7/HTML/006822.html

 
    Bookmark Topic Watch Topic
  • New Topic