• Post Reply 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

file uploading

 
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ranchers,

I am little novice in this j2ee technologies, but have to make a file upload code for bulk uploading of .wav files. Dont even know where to start with , some of my friends say i should use servlets , some say JSP while others normal java. I tried google but even that didnt turn out of much use.

so what do you people say ? . Beside i also want to know how to do we make a code for uploading a file then only i can go for bulk upload code. A small example will be of really great help. I am using TOMCAT as web server.

Thanx in advance

-faisal
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't use JSPs to process file uploads. A JSP should be used to generate HTML for the user interface, not to do tasks like file uploading. Such tasks should be done in servlets. And I have used Apache Commons FileUpload with great success to do that. It worked almost the first time with the sample uploading code that comes with the package.
[ June 18, 2006: Message edited by: Paul Clapham ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic