wood burning stoves*
The moose likes Struts and the fly likes tiles and javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tiles and javascript" Watch "tiles and javascript" New topic
Author

tiles and javascript

Sriram Chandrasekaran
Greenhorn

Joined: Oct 08, 2003
Posts: 17
Hi
I am going to use the tiles framework. I am not sure how
i can insert custom javascript into each jsp page...even though they may use the same layout...
i.e...though the use the same layout page...how can i change
the included javascript...does tiles insert tag be used
to insert a javascript file? or what exactly is recommended?

thanks in advance
-ram
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Use an include scriptlet in your header tile. That way it is only in one place in your code.


A good workman is known by his tools.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: tiles and javascript