I want to call a Custom Page in my deployment from within another Custom Page. The standard method of referencing a web page from within a JSP is to use the action attribute; how do I configure the action attribute if the target page is a Custom Page?
To configure the action attribute requires two steps: obtaining the URL of the destination page, and then referencing the URL in the action attribute.
- Obtaining the URL of the destination page (replace destinationPage.jsp with the file name of the target JSP, and customFolder with the name of the folder in which you store your Custom Pages):
final String DESTINATION_URL = request.getServletPath()+"/jsp/custom/customFolder/destinationPage.jsp;
- Referencing the URL in the action attribute:
JDN-2126 Originally created by Don Clark