Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-13-2012, 09:28 PM   PM User | #1
ndeapen
New to the CF scene

 
Join Date: Aug 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ndeapen is an unknown quantity at this point
How do you add an element to the html head when in an arbitrary sub-JSP page?

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!
ndeapen is offline   Reply With Quote
Reply

Bookmarks

Tags
java, jsp

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:38 PM.


Advertisement
Log in to turn off these ads.