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

Is string an object in java?

0 Answers  


What type of code is java?

0 Answers  


What are the different types of events in java?

0 Answers  


What are the modules of j2ee?

0 Answers  


Is java more difficult than c++?

0 Answers  


I Want build and release interview questions

0 Answers  


can someone tell me how does preparedstatement works? its an interface and where is the implementation?

3 Answers   Satyam, TCS,


What is comment?

0 Answers  


What are the technologies a java developer must know?

0 Answers  


What is j2ee api?

0 Answers  


What is the difference between java and core java?

0 Answers  


Is visual studio good for java?

0 Answers  


Categories