Hi ,
we have custom application built in 7.0 where we use IResource API to get the resource url .
our resource is HTML file stored in jsp folder . we pass this URL some other application to access it
resource url is like below in 7.0 . when we paste this url into browser we can access the resource .
code is
IPortalComponentRequest req = (IPortalComponentRequest)this.getRequest();
String componentName = req.getComponentContext().getComponentName();
IResource htmlfile = req.getResource(componentName, IResource.STATIC_PAGE, "jsp/multipleinstance.html");
and htmlfile.getresourceinformation().getURL is concated with server URL and URL is sent to other application . URL looks like below
http://<host>:<port>/irj/portalapps/<component class>/jsp/multipleinstance.html
we migrated this application to portal DC in EP 7.3 and we are not able to access the url using above code .
when i paste this url which is generated its not able to load the resource .
when we created standalone portal application it works fine in EP 7.3 .
http://<host>:<port>/<component name>/jsp/multipleinstance.html
Not sure why there is an issue with DC application . please help me .