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 java awt event?

0 Answers  


Is core java and j2se same?

0 Answers  


What are the differences between Ear, Jar and War files? Under what circumstances should we use each one?

0 Answers  


Explain connector architecture.

0 Answers  


Use of private variable while creating properties ???

1 Answers  


How many java languages are there?

0 Answers  


Give some advantages of orm (object-relational mapping)?

0 Answers  


What is japplet in java?

0 Answers  


Every field has setter and getter methods.what is happening in this methods.

2 Answers  


What is ejb container provider?

0 Answers  


What is filter chain?

0 Answers  


What does enterprise javabeans module contain?

0 Answers  


Categories