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 defined as web components?

506


What is enterprise information system?

545


What is the build file?

522


What is context root?

562


What is jaxr provider?

521






What is application configuration resource file?

507


What are web technologies in java?

447


What is a web container in j2ee?

506


Is eclipse written in java?

541


What is cascade delete?

556


What is authorization?

584


Which framework is best for java?

472


What is java ee architecture?

499


What is devops in java?

523


What is a java developer?

468