• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet + file browsing

 
david allen
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know if this is possible but as many of you have seen when using a web browser it is possible to browse for files. ie
<form method="POST" enctype="multipart/form-data">
Is is possible to do this using an applet?
Regards david
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David
Well, why would you want to do it via an applet? The problem is if we want to do that then we have to form a "multipart form request" which is formed by the browser when we use usual "Browse" button. Now, I came across a code that can do it but it was not really just a small code. It was implementing HttpRequest via which we can send HttpRequest via Java code itself. Anyways, if I were you then I would just popup a new browser window via Applet/Javascript combination (JSObject) and then let then display a HTML form with "Browse" button that can submit to appropriate destination...
Please let us know if this seems a feasible option to you..
Regards
Maulin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic