aspose file tools*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tiles and javascript