Use jboss-portlet.xml and i think the portlet-name value needs to be same as what its in portlet.xml
put jboss-portlet.xml in the WEB-INF folder.
hi ozguy.. Your second option is very correct
we tried to use the absolute url instead of relative. It works fine. Thanks
Please also include the portlet context name
Incase if u need a file form your portlet web apps /js directory.
'portlet-ctx-name' is nothing but the actual portlet web application context