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 a java developer?

1116


What is use of final keyword in java?

1055


What are the most important topics in java?

1019


What is java ee sdk?

943


Which edition of java is used for web application?

971


Why java is called robust and secure?

1075


Is string a primitive data type in java?

998


How many java languages are there?

1054


How do I become a java developer?

998


Which of the following are subclasses of java awt component?

1023


What are the j2ee client types?

982


What is application assembler?

999


What do you understand by connector? Explain connector architecture.

964


What does resource adapt module contain?

1015


Difference between load and get method?

1017