develooper Front page | perl.libwww | Postings from March 2001

LWP - Using Applet

From:
Ricardo Sheiji Yamamoto
Date:
March 8, 2001 13:00
Subject:
LWP - Using Applet
Message ID:
3AA7F3C2.DDF2212D@ehouse.com.br
Hi,

 I have to emulating a FORM POST but this FORM is using an applet.

 Example:
 <HTML><HEAD>
 <TITLE>Title</TITLE>
 <script language="JavaScript">
 <!--
 function Verify() // Using applet
 {

  document.form2.FIELD1.value =
document.applets[0].cript(window.document.forms2.FILED1.value);
  document.form2.FIELD2.value =
document.applets[0].cript(window.document.forms2.FIELD2.value);
  document.form2.submit();
  return true;
 }
 //-->
 </script>
 </HEAD>
 <BODY>
 .
 .
 .
 <applet code="td9wv9YY.class" archive="td9wv9YY.jar"
codebase="/scripts/APP.dll/APPLET" width="2" height="0"></applet>

 <form name="form2" method="post" action="ACTION" onSubmit="return
Verify()">
   <input type="text" name="FIELD1" value="">
   <input type="text" name="FIELD2" value="">
   <input type="Submit" name="Go" value="GO!!!">
   <input type="hidden" name="IDPRESP" value="">
 </form>
 .
 .
 .
 .
 </BODY></HTML>

 ______________________________________________________________________________

 To emulate FORM, I can use LWP, but this form is using applet.

 Is it possible to emulate this kind of FORM? How can I do it?


Thanks,
Ricardo






nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About