DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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
    >
    >
    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links