URL to use in Accordian?
I have a JSF portlet where I want to use an Accordion. Since a portlet lives inside a portal, all URL's are relative to the portlet instance. To get a reference to a resource in the war file, I can do like this:
renderResponse.encodeURL( renderRequest.getContextPath() + "/resources/images/text.gif")
in my JSP file, and it will give me the following URL:
The problem is to refer to a JSP to use in i.e an accordion. I've tried the following, with no luck:
I guess the URL must be an absolute URL? Any input on how to achive this? I want the content of each panel in the accordion to be rendered from two different jsp's.