Submitting Applet values...


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Submitting Applet values...

  1. #1
    Harold Chattaway Guest

    Submitting Applet values...

    Hi all:
    I've been trying to find out how to submit the values of the objects that
    are in a Java Applet when the HTML page that hosts that applet is
    submitted....

    IOW, If I have a webpage that uses an applet for the purpose of doing
    dataentry...and I then submit the html page, how do I get the values from
    the java applet to be submitted with the rest of the page? I have seen
    references where Javascript can be used to query the applets values prior to
    submission, but I have not seen any concrete examples...

    This has to be a common scenario...Any ideas?

    Harold





  2. #2
    prabha Guest

    Re: Submitting Applet values...


    hello,

    By using <param Name=.... Value=....> tag in html file we can enter data
    to that specified Textfield or TextArea.And by using getparameter(Name that
    was given in param tag) method, we can retrive that data which is enterd
    by the user in that Textfield or TextArea. it can be retrived by another
    applet or by servlets.





    "Harold Chattaway" <hchattaway@usdatacenters.com> wrote:
    >Hi all:
    >I've been trying to find out how to submit the values of the objects that
    >are in a Java Applet when the HTML page that hosts that applet is
    >submitted....
    >
    >IOW, If I have a webpage that uses an applet for the purpose of doing
    >dataentry...and I then submit the html page, how do I get the values from
    >the java applet to be submitted with the rest of the page? I have seen
    >references where Javascript can be used to query the applets values prior

    to
    >submission, but I have not seen any concrete examples...
    >
    >This has to be a common scenario...Any ideas?
    >
    >Harold
    >
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center