Thanks. I checked this link and also https://dev.day.com/docs/en/cq/5-6/howto/taglib.html
This is all about using the taglibs in the AEM built pages itself.
My requirement is this :
I am using AEM Portal Director to pull the content on a Portal application. Site is developed in Websphere Portal and it uses the AEM content portlet to pull the content from a configured instance of AEM.
There is also a requirement to mix the AEM content ( like legal text, terms and conditions etc) "within" and existing JSR 286 non-content portlet.
I was looking at some options and offerings from AEM to achieve that.
Many Thanks.