• Post Reply Bookmark Topic Watch Topic
  • New Topic

What happens to pagecontext when jsp is converted to servlet

 
Harshavardhan Reddy
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

pagecontext scope is present in jsp but not in servlets. so what happens to pagecontext scope when jsp is converted to servlet.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way to see what happens is to look at the Java servlet code which is generated. Should be under the "work" subdirectory (in Tomcat anyway)

Here is a bit of what a recent JSP created for me in the _jspService method :



Bill
 
Harshavardhan Reddy
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks William Brogden............
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!