ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  J2EE
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
what is external varibles in jsp?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is external varibles in jsp?
Answer
# 1
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 ?    1 Yes 0 No
Ram Nidadavolu
 

 
 
 
Other J2EE Interview Questions
 
  Question Asked @ Answers
 
what is defect. Is it runtime exception or comiletime exception L&T1
What is the difference between sendRedirect() and forward()? in what situations do we have to use send redirect() instead of forward(). Mind-Tree10
what is the purpose and activity of SessionFactory in hibernate?  2
How to achieve multiple inheretence in java.I need an example. how we achieve.  1
to update a batch in a table in jdbc which method of statement object is used. Polaris4
Name the Implicit variable which is used to access other implicit objectes present in JSP. AZTEC6
what is the main use of the RequestDispatch object, how we this in realtime project  3
i developed a Stateless Session bean program.And created a client by a common java class as class m {p s v m(String s[]){....}} And i called the bean deployed in weblogic.from cmd prompt And that run. mind it i have to set setenv,seting classpath for that bean jar file before compile and run it. ok when i do a servlet programme deployed in tomcat and call that bean then it give classdefnotfoundException and NoInitialContext like this.So how i sucessfully do this? Ok when i call that bean from java class from the console like i previously told, if i don't set setenv i found the same error on the cmd prompt. pls help to get out of it  1
How can we serialize a jsp page. CSC2
Hello frds .recently I've got a call for the test in infosys .iam having 1.5 yr exp in java pltfrm.plz can anyone tell the main process( in detail) for infosys experienced professionals  1
can someone tell me how does preparedstatement works? its an interface and where is the implementation? Satyam2
Explain about J2EE Application Architecture  1
i have to create an application with session.during that session a timer will be started & show the time in second upto the session expired.So that i can know how many time i in that session. Hint:-i m hinted that it will coded with javascript Wipro3
what is Directory Structure of webapplication? CTS6
Hi friends, can u explain Transparent Persistence in hibernate with sample code.  1
to update a batch in a table in jdbc which method of statement object is used  1
why we are using XML? TCS10
what is the difference between Tomcat 4 & Tomcat 5? TCS4
what is external varibles in jsp? Verizon1
how many external variables are there in jsp ?  1
 
For more J2EE Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com