🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16875

getParameter() in Applet

#16875
From: Arumugam
Date: Tue, 12 Jan 1999 00:00
35 lines
1355 bytes
Hi,
    I have developed an applet using JBUILDER.
    My applet can run standalone also.

    Can anyone tell me how to read the parameter from the HTML in
Applet.?

    I have tried in the following way.  But failure.

    For example ;
    Suppose, In the project.projectname.html, we have the following line

    <PARAM name=userID  value=hello>
    <PARAM name=password value=abcd>

    I called
        String  tmp = getParameter("userID");  in the init function.
But it failed.

   Also, I obsorbed that in projectname.java file, I have a DEFAULT
function getParameter(two parameter).

    What is the use of the second parameter.?

    How can I get the value of userID  and  password.?

   Thank and Regards

   Arumugam

-
B. Arumugam
Mitsubishi Space Software, JAPAN.
Phone ; +81-467-47-6708
E-Mail : arumugam@kbo.mss.co.jp
Technical Details
Message-ID: <369AEF33.9743E064@kbo.mss.co.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f2148a1c9e4b18c3,start
X-Google-Attributes: gidf74b3,public
From: Arumugam <arumugam@kbo.mss.co.jp>
Subject: getParameter() in Applet
Date: 1999/01/12
Message-ID: <369AEF33.9743E064@kbo.mss.co.jp>
X-Deja-AN: 431556350
Content-Transfer-Encoding: 7bit
Organization: Mitsubishi Space Software, JAPAN
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language