Can someone pleasehelp me understand how the following code works?
<%@ page import = "com.sapportals.portal.prt.resource.IResource" %>
aResponse.addResource(componentRequest.getResource(IResource.CSS, "css/main2.css"));
or
String webpath = componentRequest.getWebResourcePath()+"/"; // where is this declared? how can they use it with no declaration? What do I need to import in order to use getwebresourcepath?
What class/interface/api does this belong to? When I lookup the IResource Interface in the Javadocs it makes no mention of getResource(); and I cannot find any reference to getWebResourcePath Furthermore, I can never find where componentRequest is being declared.
I am having trouble looking at the code especially in a .jsp and figuring out where the methods and classes are coming from or what I would need to do to use the code for myself. Any help?
Thanks
Paul