MollyPages.org
"You were wrong case. To live here is to live." |
Pages /
Database /
Forms /
Servlet /
Javadocs
/
License & Download /
Tutorials /
Cookbook
/
Contact & Hire
|
A page can have as many declaration sections as desired.
The page framework creates only 1 instance of a page so there is no performance difference between a static and instance variable. Since more than 1 thread can be rendering a page, any declared method should be synchronized as/when needed.
[! .. java instance and static methods/variables .. !]
The results section (below, right) shows the browser the first time the page is accessed and then below, the second time the page is accessed.