tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Klawitter <hol...@klawitter.de>
Subject Re: Help! How to deal with null session variables??
Date Thu, 14 Sep 2000 15:46:32 GMT
> String MyVal=session.getValue("x").toString();

You can initialize the session with empty strings,
or write your own reader function.

By the way: getValue() is deprecated, use getAttribute().

Regards,
Mit freundlichem Gruß,
	Holger Klawitter
--
Holger Klawitter                                    +49 (0)251 484 0637
holger@klawitter.de                            http://www.klawitter.de/



Mime
View raw message