Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

Implicit Object  RSS feed

 
Harshana Dias
Ranch Hand
Posts: 352
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hey,

I have a problem with out implicit object.
What is it real type? is it JspWriter or PrintWriter?
I have checked in the JSP specification it says "JspWriter is available by default as implicit objects" so i guess out type is JspWriter.
But what confused me was in HFSJ is referred to as PrintWriter too in page 289. (It says "container takes everything you write between expressions and puts it in as the arguments to a statement that prints implicit response PrintWriter out")
Also what is the different or relationship between those two types?

Thank You.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
See here.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!