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...


what is external varibles in jsp?



what is external varibles in jsp?..

Answer / ram nidadavolu

you can use application.setAttribute("variablename", Object
value);

ie Integer globalVariable = new Integer(15);
application.setAttribute("global", globalVariable);

to retrieve it you would

Integer globalVariable =
(Integer)application.getAttribute("global");

etc.. this can be passed on between pages

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More J2EE Interview Questions

What is j2ee component?

0 Answers  


What is a java application server?

0 Answers  


How many types of modules is defined by j2ee specification?

0 Answers  


What is component contract?

0 Answers  


What is the latest framework in java?

0 Answers  


What is conversational state?

0 Answers  


What is form-based authentication?

0 Answers  


How is java development environment setup?

0 Answers  


What is j2ee explain the component of j2ee application?

0 Answers  


What is the preferred size of a component in java?

0 Answers  


What is j2ee stand for?

0 Answers  


What is a java application client?

0 Answers  


Categories