Joel McCarty wrote:
>
> Mario,
>
> Java is a case sensitive language. You are getting a NullPointerException
> because the getParameter call is looking for WINDOWCLASS and can't find it.
> Please change the case of the param name to match that in the java class.
Actually it doesn't.
The java tutorial says :
Note: Although this tutorial usually refers to parameter names using ALL
UPPERCASE, parameter names are case-insensitive. For example,
IMAGESOURCE and imageSource both refer to the same parameter. Parameter
values, on the other hand, are case-sensitive unless you take steps
interpret them otherwise, such as by using the String toLowerCase method
before interpreting the parameter's value.
But since I only believe in one Bible i tried to substitute the line
with the getParameter to the following :
String windowClass = getParameter("windowClass");
And the result was the same...
But thanks anyway
--
Mario Filipe
[EMAIL PROTECTED]
http://neptuno.sc.uevora.pt/~mjnf
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]