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 Murach's Java Servlets and JSP this week in the Servlets 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
subject: Include a common resource in all pages
Similar Threads
Include code in JSP
Converting JSP to XML
Interactive GUI
Include HTML files?
Can one jsp file has more than one jQuery script(jQuery supplied) file.