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
Which framework is best for java?
What is multi tier architecture in j2ee?
Define hashtable in j2ee?
What is credentials?
What is difference between javac and java?
Is java is fully object oriented?
what is direct link to download swing ebook,applet,ejb,core java
What is layout in java?
What is j2ee called now?
Is string a primitive data type in java?
What is java secure socket extension (jsse)?
Describe action form?
What is mean by connection pooling?
How will you explain cdata?
What is the use of method saveorupdate()?