what is external varibles in jsp?
Answer / 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 |
What is java full stack developer?
What is iso 3166?
What is ejb jar file?
What is use of final keyword in java?
What is container-managed transaction?
What are the components of awt in java?
What is j2ee and j2se?
What is commit?
What is java transaction api (jta)?
what is jvm? how can it is useful in java?
How does j2ee application work?
What is a component in java?