• Post Reply Bookmark Topic Watch Topic
  • New Topic

implicit object in Tag file

 
Sophie Angela
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it true that all the implicit objects in a JSp is available for a Tag file?


is there any special case..?
 
Tridib Samanta
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. page and exception implicit objects are not available in tag files. In addition to this instead of pageContext, jspContext is available in tag files.
 
Johan Pelgrim
Ranch Hand
Posts: 105
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Implicit objects in...

JSP page: request, response, pageContext, session, application, out, config, page

EL expressions: pageContext, pageScope, requestScope, sessionScope, applicationScope, param, paramValues, header, headerValues, cookie

Tag files: request, response, jspContext, session, application, out, config
 
Christopher Baldoza
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In addition to implicit objects mentioned ...

JSP page : exception
EL expression : initParam
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!