JSP Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 293 Page Views: 

How to refer the "this" variable within a JSP page?



Posted By: Avi Date: 3 November 2010 08:37:57 AM
 Answer:

The page implicit object page is equivalent to "this", and returns a reference to the servlet generated by the JSP page.


Posted By: avibtech


Date: 3 November 2010 08:37:57 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image kyVd1J
Related Questions
JSP : How can you implement singleton pattern in servlets ?

How can you implement singleton pattern in servlets ?

By implementing SingleThreadModel.
Category: JSP Date: 11/5/2010 12:36:59 AM
JSP : How deleting a cookie?    

How deleting a cookie?    

Cookie c = new Cookie ("name", null); c.setMaxAge(0); response.addCookie(killCookie);
Category: JSP Date: 11/4/2010 11:31:57 PM
JSP : How you can perform browser redirection?

How you can perform browser redirection?

By using the method sendRedirect of HttpServletResponse or forward method of RequestDispatcher.
Category: JSP Date: 11/4/2010 8:03:57 PM
JSP : How can the output of JSP or Servlet pages be prevented from being cached by the browser?

How can the output of JSP or Servlet pages be prevented from being cached by the browser?

We set the HTTP header attributes the following values: <% response.setHeader("Cache-Control....
Category: JSP Date: 11/4/2010 5:09:57 PM
JSP : Can you stop JSP execution in the middle of processing a request?

Can you stop JSP execution in the middle of processing a request?

Yes, by using the return statement to stop the processing of JSP. Where JSP is compiled to servlet a....
Category: JSP Date: 11/4/2010 2:47:57 PM