• Post Reply Bookmark Topic Watch Topic
  • New Topic

pagecontext in jsp

 
vara prasad
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When to use pagecontext in jsp. when to use page in jsp
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to JSP...

--Mark
 
pradeep jaladi
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

PageContext is same as ServletContext in Servlets .Where as page concept is 'this' in Java File. So We use page to refer the values,objects in same jsp .Where as we go for pagecontext in case of getting values from other page like Login User Name.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!