if (contextPath != null && !action.contains(contextPath)) {
if (contextPath != null && !action.contains(contextPath + "/")) {
    public void setAction(String action) {        this.actionWithoutContext = action;        if (action.startsWith("/")) {            HttpServletRequest request = (HttpServletRequest) getPageContext().getRequest();            String contextPath = request.getContextPath();            if (contextPath != null && !action.contains(contextPath)) {                action = contextPath + action;            }        }        HttpServletResponse response = (HttpServletResponse) getPageContext().getResponse();        set("action", response.encodeURL(action));    }