• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Applet handling a HTM Form

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THE SHORT:
I need an applet to open up a HTML page and then handle the POST or GET method of that form.
Is this possible?
THE LONG:
Im trying to get past the applet security of not being able to read local files by opening a HTM form with a "File" input type that would submit the file back to the applet in a GET or POST method. I know how to open a HTM page from the browser but i dont know if its possible to "capture" the output of that form from within the applet.
Any feedback would be appreciated.
Thanks
K
 
Kevin Sullivan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SIDENOTE:
I know a signed applet would make this all easier but tell me if im wrong in the assumption that if i use signed applets then every desktop i want to use this applet on will require the change of a policy file and a Key Database.
I want to avoid having user interaction to setup the applets use.
K
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
if the page being popped up has nothing much to do with the applet u have (meaning communicating back & forth) then u can do showDocument() and specify target = _new along with the url. that url can be the servlet which displays the form data and to which u'll post the form data...
regards
maulin
 
Sometimes you feel like a nut. Sometimes you feel like a tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic