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 are j2ee technologies?

870


What is the best java compiler?

821


What are types of j2ee clients?

899


What is core java and j2ee?

857


What is digest authentication?

940


you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why?

2543


Is java gui dead?

842


What is included in j2ee?

850


What is a web container in j2ee?

934


What is filter chain?

869


What are the different types of events in java?

801


What is jaxr provider?

872


Enlist the technologies embraced in j2ee?

861


What are the components of the java platform?

889


Define authorization constraint?

950