Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Servlet init() method

  Asked By: Bonni    Date: Nov 29    Category: Java    Views: 747
  

Can I place variable within the init() method of a servlet?

I've created a HashMap in the init() method of a servlet and now I'm
trying to get to it from doPost and it can't find my variable? Is
this posssible or should I be doing it a different way?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Servlet init() method Or get search suggestion and latest updates.




Tagged: