IntelliJ Java IDE
The moose likes JSP and the fly likes Conditional include content Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Conditional include content" Watch "Conditional include content" New topic
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
 
IntelliJ Java IDE
 
subject: Conditional include content
 
Threads others viewed
Tiles. Decorator. What is the right way?
unable to update Div tag.
Need help selecting a value from a list with multiple ids that are the same
pass paramter between jsp page
performance issue with DIV tags
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture