because user.home should be in "" since it's a string:
System.getProperty("user.home");
Oz
-----------------------------------
Osvaldo Espaillat
ozzy@xxx.com
Unwired Solutions Inc.,
Your eEnterprise Solutions Company
http://www.unwiredsolutions.com
-----------------------------------
-----Original Message-----
From: owner-resin-interest@xxx.com
[mailto:owner-resin-interest@xxx.com]On Behalf Of Nick
Sent: Sunday, October 21, 2001 10:47 AM
To: resin-interest@xxx.com
Subject: Why won't System.getProperty(user.home) work in a JSP page?
Hi,
I am trying to use System.getProperty(user.home) in a JSP page and I get
the error:
500 Servlet Exception
/counter.jsp:11: cannot resolve symbol
symbol : variable user
location: class _jsp._127__0__0__1_23a80_0._counter__jsp
System.getProperty(user.home);
^
1 error
----------------------------------------------------------------------------
-- Resin 2.0.b2 (built Tue Apr 17 09:41:58 PDT 2001) Why is this not working? Thanks, StefanReceived on Sun 21 Oct 2001 09:47:30 -0700
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:49 PDT