Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes static methods and servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "static methods and servlets" Watch "static methods and servlets" New topic
Author

static methods and servlets

Ritu varada
Ranch Hand

Joined: Sep 08, 2004
Posts: 117
What's the problem of using static - method, variable, (or) block - in an application wherein, the application has sessions


SCJP,SCWCD(1.4)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

Is there a concrete problem you are experiencing? If so, more context regarding your problem -- the nature of the error or incorrect behavior, as well as sample code -- is needed. Or is this a homework question?
[ September 08, 2004: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

"Vijramu"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
Consider Paul's rocket mass heater.
 
subject: static methods and servlets