• Post Reply Bookmark Topic Watch Topic
  • New Topic

import custom tag , standard actions and tag files

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HF Servlets & JSP 1st edition Pg 491 says
c:imports and jsp:includes can be messy cause one has to pass parameters to them and since parameters usually represents form data submitted by the user, its not a clean approach to include reusable JSPs via c:import and JSP:include and hence tag files came into picture and must be used.
My question is to when one uses jsp:forward to forward requests to JSP one has to again use jsp aram to pass custom information to the JSP/servlet that is getting the request. So is this correct and if not is there any alternative for this like the tag files.
 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestions ?
 
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!