Win a copy of Design for the Mind this week in the Design forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic