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 application configuration resource file?

0 Answers  


Why java is called robust and secure?

0 Answers  


Why awt is used in java?

0 Answers  


what is external varibles in jsp?

1 Answers   Verizon,


Is java more difficult than c++?

0 Answers  






What is distributed application?

0 Answers  


Is j2ee a programming language?

0 Answers  


what is meant by proxy server

1 Answers  


What is j2ee architecture?

0 Answers  


What is callback methods?

0 Answers  


What does web module contain?

0 Answers  


What is the J2EE module?

0 Answers  


Categories