Click here to Skip to main content
15,900,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So i have my main JSP page which includes a number of sub-JSP pages hierarchically.

Some of these sub-JSP pages have scripts and styles that need to be included along with them, but i want the styles and the script tags to be in the head of the document.

Is this possible without using JavaScript? (My alternative is to dynamically include the pages using JavaScript but I want my site to work when the client has it off.)

I am looking for a set of methods within the framework or a design pattern that will help me.

Any insight is greatly appreciated!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900