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 j2ee technologies?
What is the best java compiler?
What are types of j2ee clients?
What is core java and j2ee?
What is digest authentication?
you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why?
Is java gui dead?
What is included in j2ee?
What is a web container in j2ee?
What is filter chain?
What are the different types of events in java?
What is jaxr provider?
Enlist the technologies embraced in j2ee?
What are the components of the java platform?
Define authorization constraint?