Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * The contents of this file are subject to the terms
  * of the Common Development and Distribution License
  * (the "License").  You may not use this file except
  * in compliance with the License.
  * You can obtain a copy of the license at
  * See the License for the specific language governing
 * permissions and limitations under the License.
 * Created on August 21, 2009
Identifies the application path that serves as the base URI for all resource URIs provided by May only be applied to a subclass of

When published in a Servlet container, the value of the application path may be overridden using a servlet-mapping element in the web.xml.

See also:
public @interface ApplicationPath {
Defines the base URI for all resource URIs. A trailing '/' character will be automatically appended if one is not present.

The supplied value is automatically percent encoded to conform to the path production of href="">RFC 3986 section 3.3. Note that percent encoded values are allowed in the value, an implementation will recognize such values and will not double encode the '%' character.

    String value();
New to GrepCode? Check out our FAQ X