• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Param object Doubt

 
Satish Kota
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a doubt regarding the <jsp:include> and param object.



In the above code we have added a new attribute called "user" to param object. The whole idea is to make this attribute available to entertain.jsp by passing through param object. But here the attribute is added after the entertain.jsp page has been included.I mean after the following line of code



When this line of code is executed the entertain.jsp should not have access to "user" attribute as this attribute has been added afterwards. But when i exceute i see that entertain.jsp has access to "user" attribute and can use its value. Please tell me how can this be possible.

Thank You.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not after.
Your param tag is actually inside the include tag, so it will be processed before including the file
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic