01: /*
02: * Copyright 2005 Joe Walker
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.directwebremoting.servlet;
17:
18: import org.directwebremoting.Container;
19: import org.directwebremoting.extend.Handler;
20:
21: /**
22: * Various constants from generating output.
23: * @author Joe Walker [joe at getahead dot ltd dot uk]
24: */
25: public interface PathConstants {
26: /**
27: * When we prime the {@link Container} with URLs for {@link Handler}s we use
28: * a prefix so the {@link UrlProcessor} knows that this is a URL and not
29: * some other property
30: */
31: public static final String URL_PREFIX = "url:";
32:
33: /**
34: * Help page name
35: */
36: public static final String FILE_HELP = "/help.html";
37:
38: /**
39: * Extension for javascript files
40: */
41: public static final String EXTENSION_JS = ".js";
42:
43: /**
44: * The position of web.xml
45: */
46: public static final String RESOURCE_WEB_XML = "/WEB-INF/web.xml";
47: }
|