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 j2ee a programming language?

0 Answers  


what is data modeling?what is final method

1 Answers   Oracle,


What are web technologies in java?

0 Answers  


What is the latest framework in java?

0 Answers  


Why frameworks are used in java?

0 Answers  


Is java important for my computer?

0 Answers  


What are java front end tools?

0 Answers  


What is j2ee application?

0 Answers  


Is java more difficult than c++?

0 Answers  


What is group?

0 Answers  


Define thin client?

0 Answers  


what is the purpose and activity of SessionFactory in hibernate?

13 Answers   Cognizant, HCL, Oracle, PiServe Technologies,


Categories