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
What are defined as web components?
What is enterprise information system?
What is the build file?
What is context root?
What is jaxr provider?
What is application configuration resource file?
What are web technologies in java?
What is a web container in j2ee?
Is eclipse written in java?
What is cascade delete?
What is authorization?
Which framework is best for java?
What is java ee architecture?
What is devops in java?
What is a java developer?