I am working on websphere portal server.
I think portal server doesnt support body tag
I have placed onload tag in body tag.
Is there any alternative method to call onload functionality in portlets?
Thanks & Regards,
You need to think how "portal" creates a page that is served to browser.
Typically a portal page has many portlets in it. If you put <body> tag in each of the "portlet" you will end up with too many <body> tags in "final" page that is served to browser.
May be you can call your function in <body> tag added by "portal". I am not sure which JSP in WebSphere Portal.