| Author |
Conditional include content
|
vin Hari
Ranch Hand
Joined: Nov 16, 2006
Posts: 161
|
|
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
Joined: Feb 09, 2006
Posts: 89
|
|
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
|
 |
 |
|
|
subject: Conditional include content
|
|
|