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

What is containers in java?

868


explain the technologies that j2ee platform provides for developing components.

867


What is difference between j2ee and java?

932


What is credentials?

907


What are the technologies a java developer must know?

905


What is meant by applet in java?

1087


Is visual studio good for java?

929


Is java is a technology?

973


What is java ee sdk?

901


What is ear file?

922


Why java is oop language?

935


What is enterprise information system resource?

969


What is pure java?

1014


What is j2ee product provider?

932


Which edition of java is used for web application?

923