• Post Reply Bookmark Topic Watch Topic
  • New Topic

Conditional include content  RSS feed

 
vin Hari
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

i have a strange situtaion i have some main jsps from which i am calling the content.jsp
i have div size written for ex: from main.jsp


i am modifying content which returns two images instead of one earlier, my question is i have many main1,main2.....jsp files which are calling this content.jsp
so instead of modifying all i want to make adjust ments in the content.jsp based on some condition how to do that please help me.
 
Philip Thamaravelil
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you just need to add a parameter to your include statement.






for reference: http://java.sun.com/products/jsp/tags/11/syntaxref1112.html

Good Luck!
Philip
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!