![]() |
|
||||||
Example usage: Build a valid URL for a resource in the current folder:
org.opencms.jsp.CmsJspActionElement cms = new org.opencms.jsp.CmsJspActionElement(pageContext, request, response);
out.println(cms.link("index.html"));
Build a valid URL for a resource in another folder:
org.opencms.jsp.CmsJspActionElement cms = new org.opencms.jsp.CmsJspActionElement(pageContext, request, response);
out.println(cms.link("/some/other/folder/index.html"));
Build a valid URL for a resource in the root folder:
org.opencms.jsp.CmsJspActionElement cms = new org.opencms.jsp.CmsJspActionElement(pageContext, request, response);
out.println(cms.link("/index.html"));
|
|||||||
|
©2005 Alkacon Software GmbH (http://www.alkacon.com) - The OpenCms experts |
|||||||