org.eclipse.jst.j2ee.webapplication
Interface ErrorPage
- All Superinterfaces:
- J2EEEObject
- All Known Subinterfaces:
- ErrorCodeErrorPage, ExceptionTypeErrorPage
- public interface ErrorPage
- extends J2EEEObject
The error-page element contains a mapping between an error code or exception type to the path of a resource in the web application
isErrorCode
public boolean isErrorCode()
isExceptionType
public boolean isExceptionType()
getLocation
public java.lang.String getLocation()
- Returns:
- The value of the Location attribute
The location element contains the location of the resource in the web
application
setLocation
public void setLocation(java.lang.String value)
- Parameters:
value
- The new value of the Location attribute
getWebApp
public WebApp getWebApp()
- Returns:
- The WebApp reference
setWebApp
public void setWebApp(WebApp value)