CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    HTML and Applet Communication

    I think many people had asked this question but none of the answer satisfy me.

    If "http://mysite/dir/website.html?NAME=John" is the URL and website.html has an applet, how could the applet get the value of NAME, which is "John"?

    If there is a solution to this, I need to know
    1.) What should I do inside the applet in order to get the value?
    2.) What should I put inside website.html? Do I need to declare variable NAME inside the <Applet> tag with <Param>?

    The purpose of I doing this is to able to pass a user name to the applet so that the applet can decide what to do.

    I appreciate the help and thanks!



  2. #2
    Join Date
    Mar 2000
    Posts
    16

    Re: HTML and Applet Communication

    You can retrieve value of a parameter inside applet by writing stmt getParameter(<name of parameter&gt

    Rest is not clear.

    RasikaJ


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured