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
Why java is called robust and secure?
What should a junior java developer know?
What is application client module?
Describe the ear, war, and jar.
What is java transaction service (jts)?
public class ActionSearchBean extends
GenericSearchBean
What is java ee sdk?
Difference between load and get method?
What is isv?
Why java is interpreted language?
What are the main components of multi-tier architecture?
Why is j2ee needed?
What is java actionlistener?
What is create method?
What is awt panel java?