File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Similar Threads
Include HTML files?
Include code in JSP
Interactive GUI
Converting JSP to XML
Can one jsp file has more than one jQuery script(jQuery supplied) file.