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

Why is java called technology?

0 Answers  


What is pure java?

0 Answers  


What is java gui?

0 Answers  


Is java a web technology?

0 Answers  


What is 'applet container' ?

0 Answers  


What is java secure socket extension (jsse)?

0 Answers  


What are the j2ee technologies?

0 Answers  


which method does it invokes automatically when we click link in the webpage a)put b)get c)head d)post

7 Answers  


What is jetty in java?

0 Answers  


What is java mobile?

0 Answers  


What are the components of j2ee applications?

0 Answers  


What is gridlayout in java?

0 Answers  


Categories