File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Static declaratoin problem?
Joined: Mar 16, 2001
Apr 04, 2001 09:20:00
i could not declare a static variable in my JSp page. Why?
I tried : static int
and get the following error:
Could anyone tell me how can i declare a static variable?
Joined: Mar 26, 2001
Apr 05, 2001 09:59:00
I use the following:
NL = System.getProperty("line.separator");
It also works without the keyword 'final'.
I agree. Here's the link:
subject: Static declaratoin problem?
size of array
static variable inside static function
Using final as program-wide variables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014