File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 60766
    
  65

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: 17249
    
    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
 
 
subject: static methods and servlets
 
Similar Threads
WAR issue
How are Servlets and objects in it instantiated?
static doubt
log4j writing to multiple log
Sustaining formbean attributes