Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can servlet have instance variables?

Answer Posted / ramana

it is not recomended to use instance variables in servlet...if necessary use static variables..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between encodeRedirectUrl and encodeURL?

1098


What is the use of httpservletresponsewrapper?

948


How do you configure a centralized error handler in servlets?

1091


What are different methods of session management in servlets?

1255


Can we use the constructor, instead of init(), to initialize servlet?

1085


Which java framework is most popular?

1118


What do you mean by web applications? Explain web application directory arrangement?

946


Why servlet is faster than jsp?

1054


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1240


Explain url encoding?

973


What is a server side include (ssi)

1131


Why are http servlets used in programming?

996


What do you mean by request dispatcher in servlet? Also explain its methods.

1135


How to notify an object in session when session is invalidated or timed-out?

1073


Explain the difference between get and post method in servlet?

1124