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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which framework is best for java?

946


What is multi tier architecture in j2ee?

886


Define hashtable in j2ee?

976


What is credentials?

891


What is difference between javac and java?

995


Is java is fully object oriented?

936


what is direct link to download swing ebook,applet,ejb,core java

2573


What is layout in java?

909


What is j2ee called now?

948


Is string a primitive data type in java?

897


What is java secure socket extension (jsse)?

1027


Describe action form?

939


What is mean by connection pooling?

998


How will you explain cdata?

1046


What is the use of method saveorupdate()?

1032