Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Interview-Questions JSP Application Object
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Vijay Kumar
JSP Application Object
1 Answer(s)      4 years and 2 months ago
Posted in : JSP-Interview Questions


JSP Application Object?


Advertisement
View Answers

October 26, 2010 at 5:30 PM


Application Object is used to share the data with all application pages. Thus, all users share information of a given application using the Application object. The Application object is accessed by any JSP present in the application. The class or the interface name of the object application is ServletContext.The application object is written as:

Javax.servlet.http.ServletContext

Methods of Application Object:

  • getAttribute(String name)
  • getAttributeNames()
  • setAttribute(String objName, Object object)
  • removeAttribute(String objName)
  • getMajorVersion()
  • getMinorVersion()
  • getServerInfo()
  • getInitParameter(String name)
  • getInitParameterNames()
  • getResourceAsStream(Path)
  • log(Message)


Related Tutorials/Questions & Answers:
JSP Application Object
JSP Application Object  JSP Application Object?   Application Object is used to share the data with all application pages. Thus, all users.... The Application object is accessed by any JSP present in the application. The class
JSP implicit object "application"
JSP IMPLICIT OBJECT application In this section, we will discuss about JSP... in an application. It means the "application" object is accessed by any JSP...) : The method log of Application object is used to write a text string to the JSP
Advertisements
catching tomcat object to swing application
catching tomcat object to swing application  Hi, I have 2 java projects, one is running on tomcat server and another is at client pc ie swing application. So I need to catch a server side object from swing application. How can I
JSP Session Object
JSP Session Object  JSP Session Object?   Session Object... or the interface name of the object session is http.HttpSession. The object session is written as: Javax.servlet.http.httpsession. The Session Object provides
swing application to import a object in a excel
swing application to import a object in a excel  Hi sir, I want to make a swing application where I can import a object in a cell of a excel... no will be inside java code) then go to: 'insert' ribbon>select 'object'>select
JSP Out Object
JSP Out Object  JSP Out Object?   out object denotes... of the object out is jsp.JspWriter. The out object "Javax.servlet.jsp.JspWriter". Methods of out Object: clear() clearBuffer() flush() isAutoFlush() getBufferSize
JSP Response Object
JSP Response Object  JSP response Object ?   The response object denotes the HTTP Response data. The result or the information of a request is denoted with this object. The response object handles the output
Application Object in Flex4
Application object in flex4: In Flex development, your application have <... have one application object if you do not use SWF loader in your application...:Application/> or <mx:Application>. Application object are created when your
Page object - JSP-Servlet
of PAGE object of implicit JSP object. If this is possible explain me about it's methods. I did not find any methods or explanation of this object. Pls help me....  Hi friend, Implicit Objects in JSP are objects
JSP Request Object
JSP Request Object  JSP Request Object ?   request object in JSP is used to get the values that the client passes to the web server during an HTTP request. The request object is used to take the value from the client?s
jsp application
jsp application  write a jsp application that will receive an integer from the client , check if the integer is even or odd and send the result to the client
jsp object retrieval - Spring
jsp object retrieval  I have a controller which calls a Service to build a List of data from the database. I want to pass the List to the jsp to use.... However, I am concerned this object could be huge in some instances. Any
Request Object In JSP
Request Object In JSP       This section illustrates more about the JSP implicit object called... to the server, is received by the HTTP request object of the JSP. To access
JSP Implicit object "session"
JSP IMPLICIT  OBJECT "SESSION"In this Section , we will discuss about JSP implicit object "session" with an example. Session Object... of session object is to navigate between multiple pages in a application where
get a session object - JSP-Servlet
get a session object  how to do in a table when i click on a radio button i should get the id value which is in the same row and store it in the session this is in jsp when in the servlet if i call a get session i have to get
Bussiness Object API - JSP-Servlet
Bussiness Object API  I m feteching the reports from CMS server and displaying the report on web page . the problem is that displaying a report takes... = (IReportSourceFactory)enterpriseSession.getService("PSReportFactory"); Object
Pass a dom object from jsp to servlet
Pass a dom object from jsp to servlet  I am creating a dom object in my jsp page. now i want to pass that object in a servlet through calling servlet in jsp. can anyone help me
How to use an object properties in jsp page
How to use an object properties in jsp page  I have a arraylist of objects 'User' populated using struts 2 action class while loading that jsp page. In that JSP I have included another jsp using following tag: Here instead
developing students dabase application implemented on oracle with support for object feature
developing students dabase application implemented on oracle with support for object feature   Design and develop a suitable Student Database application. One of the attributes to me maintained is the attendance of a student
Web application - JSP-Servlet
Web application   Helo can you please help me in knowing how to use jsp/servlets which allows users to post question in a forum so that other users can also view the question and respond to it.For instance your application here
Read MultipartRequest object twice. - JSP-Servlet
Read MultipartRequest object twice.  Hi, Thanks for your reply for "How to revert back ServletInputStream object after reading once." Q. Now I am facing problem for ServletInputStream object. Can we read stream twice
To publish jsp web application in intranet
To publish jsp web application in intranet  I am making web application in jsp with netbean. I want to publish this web application in LAN.... So please suggest some steps to publish jsp application. Your suggestion
how to create chat application in jsp?
how to create chat application in jsp?  i am developing online web portal using jsp, i need to communicate with admin, so i need integrate with the chat applicaion through the webportal
how to create chat application in jsp?
Creating Chat application in JSP  Creating Chat application in JSP i am developing online web portal using jsp, i need to communicate with admin, so i need integrate with the chat applicaion through the webportal
How to get jSon object in servlet from jsp - JSP-Servlet
How to get jSon object in servlet from jsp  How to get jSon object in servlet from jsp? In jsp page i have written: var sel... object in servlet???  Hi Friend, Please visit the following link
object
object  is it possible to create object in the same class..?.   Yes, you can. class CreateObject { CreateObject(){ System.out.println("I have an object."); } public static void main(String[] args
Add a jsp file to java application
Add a jsp file to java application  How to add a JSP file to java application?   <html> <head> <title>Include another... a file,having any application,code or any content..</h2><br/> <
JSP implicit object "pagecontext"
JSP IMPLICIT OBJECT  pagecontext A PageContext instance provides access to all the namespaces associated with a JSP page, provides access to several... and pageContext are implicit JSP Objects. The page object represents
JSP implicit object out
JSP implicit object out In this Section, we will discuss about implicit object out & it's methods. Out object denotes the Output stream...;jsp.JspWriter". This object is instantiated implicitly from JSP Writer class
application using AJAX and JQuery and also use JSP
application using AJAX and JQuery and also use JSP   i need create an application using AJAX and JQuery and also use JSP
Track user's session using 'session' object in JSP
Track user's session using 'session' object in JSP This section is about tracking user identity across different JSP pages using 'session' object. Session Tracking : Session tracking is a mechanism that is used
 

 

 

DMCA.com