Community
Participate
Working Groups
}
// If the filter name already exists, throw an error
if (exists) {
String msg = WebMessages.getResourceString(WebMessages.ERR_SERVLET_DISPLAY_NAME_EXIST, new String[]{prop});
String msg = WebMessages.getResourceString(WebMessages.ERR_FILTER_NAME_EXIST, new String[]{prop});
return WTPCommonPlugin.createErrorStatus(msg);
} else if (mObj instanceof org.eclipse.jst.javaee.web.WebApp) {
String msg = WebMessages.getResourceString(WebMessages.ERR_SERVLET_DISPLAY_NAME_EXIST, new String[] {prop});
String msg = WebMessages.getResourceString(WebMessages.ERR_FILTER_NAME_EXIST, new String[] {prop});
// If the servlet name already exists, throw an error
String msg = WebMessages.getResourceString(WebMessages.ERR_SERVLET_NAME_EXIST, new String[]{prop});
public static String ERR_SERVLET_ROLE_LINK_EMPTY;
public static String ERR_SERVLET_INTERFACE;
public static String ERR_FILTER_DISPLAY_NAME_EXIST;
public static String ERR_FILTER_NAME_EXIST;
public static String ERR_FILTER_CLASS_NAME_USED;
public static String ERR_FILTER_CLASS_NAME_INVALID;
public static String ERR_LISTENER_DISPLAY_NAME_EXIST;
ERR_SERVLET_PARAMETER_VALUE_EMPTY=The servlet initialization parameter value cannot be empty.
ERR_SERVLET_PARAMETER_VALUE_EXIST=The servlet initialization parameter value already exists.
ERR_FILTER_DISPLAY_NAME_EXIST=The filter name already exists.
ERR_FILTER_NAME_EXIST=The filter name already exists.
ERR_FILTER_CLASS_NAME_USED=The class is already associated with other filter.
ERR_FILTER_CLASS_NAME_INVALID=Cannot use Filter as the filter class name.