• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp implicit variable

 
Sunjeev Shetty
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the jsp implicit variable corresponding to javax.servlet.http.HttpServlet?
I think the answer is page.

thanks
 
K Bala
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no jsp implicit object that is a reference to the HttpServlet object.

"page" implicit object corresponds to the Object API.

Pls. correct me if I am wrong.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

"page" implicit object corresponds to the Object API.


"page" implicit object corresponds to the servlet thats generated after the JSP page is translated and compiled. It's like "this" keyword.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!