🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Parameters problem

#19289
From: Bertrand Van Limbergen
Date: Mon, 16 Feb 1998 00:00
16 lines
1044 bytes
I would like to use an application as applet and standalone; the
following code is generated by JBuilder:

  //Get a parameter value
  public String getParameter(String key, String def) {
    return isStandalone ? System.getProperty(key, def) :
      (getParameter(key) != null ? getParameter(key) : def);
  }

when the class is run as an applet, the parameters are read from the
html file, but when run as stand alone, how are the parameter read, from
wich file? does System.getProperty() read from a specific file?

Help will be appreciated.
Thankx
Technical Details
Message-ID: <34E84122.B22D500F@mx5ia21.ch.siemens.be>
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,75382c95650b6d66,start
X-Google-Attributes: gidf74b3,public
From: Bertrand Van Limbergen <bvl@mx5ia21.ch.siemens.be>
Subject: Parameters problem
Date: 1998/02/16
Message-ID: <34E84122.B22D500F@mx5ia21.ch.siemens.be>
X-Deja-AN: 325866296
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: None
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language