Hi, I think you can make use of Portlet 2.0 Head Element Contribution. Also see [1].
[1] http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/201101.mbox/%[email protected]%3E Woonsan --- On Thu, 4/21/11, anyz <[email protected]> wrote: > From: anyz <[email protected]> > Subject: JSP include and multiple portlets Problem > To: "Jetspeed Users List" <[email protected]> > Date: Thursday, April 21, 2011, 3:04 PM > I have multiple JSP portlets on a > PSML page. Each JSP portlet page uses > common code by including various common JSP files. > > Thus common JSP files are actually included multiple times > in one PSML page > due to multipel portlets including these. It creates many > issues including > Javascript code that is over written by portlets. > > What should be best approach to include common jsp files > only once. May be > some sort of conditionall inclusion or J2 has some > recommended way to do > this. > > Thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
