Client and server side redirects/forwards:
These APIs can be used to be forward requests to other servlets to JSPs on the server side.
pageContext.forwardImmediatelyToCurrentPage(HashMap params, boolean retainAM, String addBreadCrumb);;
Get URL to Current Page with All Params
String currentURL = pageContext.getCurrentUrl();
Use Above URL to Revisit the Above page in previous state if AM was retained
pageContext.sendRedirect(currentURL);
getCurrentUrlForRedirect();
getForwardURL();
forwardImmediately(String functionName, byte menuContextAction, String menuName, HashMap params, boolean retainAM, String addBreadCrumb);
setForwardURL(String url, String functionName, byte menuContextAction, String menuName, HashMap parameters, boolean retainAM, String addBreadCrumb, byte messagingLevel)
setForwardURL(String functionName, byte menuContextAction, String menuName, HashMap parameters, boolean retainAM, String addBreadCrumb, byte messagingLevel)
setForwardURLToCurrentPage(HashMap params, boolean retainAM, String addBreadCrumb, byte messagingLevel)
setRedirectUrlAfterPrintable(String refreshUrl);
These APIs can be used to be forward requests to other servlets to JSPs on the server side.
pageContext.forwardImmediatelyToCurrentPage(HashMap params, boolean retainAM, String addBreadCrumb);;
Get URL to Current Page with All Params
String currentURL = pageContext.getCurrentUrl();
Use Above URL to Revisit the Above page in previous state if AM was retained
pageContext.sendRedirect(currentURL);
getCurrentUrlForRedirect();
getForwardURL();
forwardImmediately(String functionName, byte menuContextAction, String menuName, HashMap params, boolean retainAM, String addBreadCrumb);
setForwardURL(String url, String functionName, byte menuContextAction, String menuName, HashMap parameters, boolean retainAM, String addBreadCrumb, byte messagingLevel)
setForwardURL(String functionName, byte menuContextAction, String menuName, HashMap parameters, boolean retainAM, String addBreadCrumb, byte messagingLevel)
setForwardURLToCurrentPage(HashMap params, boolean retainAM, String addBreadCrumb, byte messagingLevel)
setRedirectUrlAfterPrintable(String refreshUrl);
No comments:
Post a Comment