* @param ignore
*/
public static void setReturnPath(HttpSession session, String path, Boolean ignore) {
LinkedList stack = (LinkedList) session.getAttribute(AttrConstants.RETURN_LOC_SES_ATTR);
ReturnPath returnPath = new ReturnPath();
if (stack == null) {
stack = new LinkedList();
}
returnPath.setPath(path);
returnPath.setIgnore(ignore);
stack.addFirst(returnPath);
// don't let it grow too large.
if (stack.size() > RETURN_STACK_MAX_SIZE) {