• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:param scope

 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read this in a book


Tag attributes have tag scope but jsp aram are accessible in the calling page after they have been used with jsp:include.


I have not been able to simulate this. Can anyone varify/give example of this above statement - and confirm its veracity?

Thanks,
Shivani.
 
Mohd Fuzail
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok try this..........

Create a tag attribute and try to access it after tag has been closed

Use <jsp aram> with value in <jsp:inclide> standard action and then the parameter passed can be used in the page which is being included

Hope that clears the air
 
I can't take it! You are too smart for me! Here is the tiny ad:
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!