This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Include a common resource in all pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Include a common resource in all pages" Watch "Include a common resource in all pages" New topic

Include a common resource in all pages

az ziz
Ranch Hand

Joined: Dec 17, 2008
Posts: 50
dear all,
i have an internal frame inside a html page(main page) within which we open all the struts pages. so far we have developed more 400 pages (jsps actions and its forms). now i need to display a <particular wordings> in all the pages. so i thought of writing that as a separate action and include this into all the jsp files. if we do like this i need to change/update all the so developed 400+ jsp files. instead of doing this, is there any possible way i can include it in all the pages that opens in the internal frame? dynamically include it from the server-side, like customizing "RequestProcessor" class?

thanks all

Vijay Veeraraghavan
I agree. Here's the link:
subject: Include a common resource in all pages
jQuery in Action, 3rd edition