Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Applet.getParameter doesn't work on NetScapt 4.7

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an applet in which I call getParameter("parameterName") to retrieve the parameter.
In my HTML file, I have the parameter set like this:
<PARAM NAME="parameterName" VALUE="blah">
The applet works well on IE, but when I run it on Netscape 4.7, the parameter I got is null.
I checked on the web, it looks that many people also got this problem, but I didn't see any good solution. Only one guy said if the characterset in Netscape is set to any thing other than "Western" (e.g. Chinese, or Japanese), the getParameter will return a null, but my characterset already set to Western(ISO-8859-1), I am really lost.
Thanks for any information.
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It works for me on both IE and NS,
yes, NS 4.7.
One thing I would suggest is
Clear Memory Cache and Disk Cache
and then retry. Applet class files may
not be loaded
from the server for every
request. Hence if you did something wrong the
first time, realise your error and then
correct it, and try to access it without
restarting your browser or clearing the cache,
I am not sure what happens. I know theoretically
speaking, the files should be loaded again, but
I wouldn't trust this. I prefer Clearing the
Cache first.
For what its worth.
- satya
 
Just let me do the talking. Ahem ... so ... you see ... we have this tiny ad...
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic