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
Is string an object in java?
What are the most important topics in java?
What is pure java?
What is basic authentication?
What are the j2ee client types?
What are the modules of j2ee?
What is application assembler?
What is single tier architecture in java?
What is a gui in java?
Is j2ee a framework?
How do I run java?
What is delegation?
how to run servlet program between two computer through internet ?
What are j2ee components?
What do you understand by j2ee?