aspose file tools
The moose likes JBoss and the fly likes what is the difference between servlet config&servletContext Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "what is the difference between servlet config&servletContext" Watch "what is the difference between servlet config&servletContext" New topic
Author

what is the difference between servlet config&servletContext

krupakar jonnalagadda
Greenhorn

Joined: Aug 28, 2005
Posts: 1
hi all,
this is krupakar
in servlets we are directly implementing the servlet interface
then it uses servletconfig as a instance varible then it will get some side effects what are they?

how to solve those side effects?
Dale Seng
Ranch Hand

Joined: Mar 22, 2004
Posts: 275
So, Who told you that there would be side-effects? Your instructor?

I'll give you a hint.... Whenever you hear "instance variable" you should think, I hope there are not a bunch of threads running with a reference to one instance of an object.

--Dale--
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: what is the difference between servlet config&servletContext
 
Similar Threads
What did you get from 2007 .
Software is Input and Output
Wait on DIV tag to Load
Safe and Idempotent methods
how to test void method.