File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp implicit variable

 
Sunjeev Shetty
Ranch Hand
Posts: 48
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic