All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opensymphony.webwork.WebWorkStatics Maven / Gradle / Ivy

Go to download

WebWork is a Java web-application development framework. It is built specifically with developer productivity and code simplicity in mind, providing robust support for building reusable UI templates, such as form controls, UI themes, internationalization, dynamic form parameter mapping to JavaBeans, robust client and server side validation, and much more.

The newest version!
/*
 * Copyright (c) 2002-2003 by OpenSymphony
 * All rights reserved.
 */
package com.opensymphony.webwork;


/**
 * Constants used by WebWork. The constants can be used to get or set objects out of the action context
 * or other collections.

*

* Example: *

    ActionContext.getContext().put(HTTP_REQUEST, request);
*

* or *

*

    * ActionContext context = ActionContext.getContext();
    * HttpServletRequest request = (HttpServletRequest)context.get(HTTP_REQUEST);
* * @author Patrick Lightbody * @author Bill Lynch (docs) */ public interface WebWorkStatics { /** * Constant for the HTTP request object. */ public static final String HTTP_REQUEST = "com.opensymphony.xwork.dispatcher.HttpServletRequest"; /** * Constant for the HTTP response object. */ public static final String HTTP_RESPONSE = "com.opensymphony.xwork.dispatcher.HttpServletResponse"; /** * Constant for an HTTP {@link javax.servlet.RequestDispatcher request dispatcher}. */ public static final String SERVLET_DISPATCHER = "com.opensymphony.xwork.dispatcher.ServletDispatcher"; /** * Constant for the {@link javax.servlet.ServletContext servlet context} object. */ public static final String SERVLET_CONTEXT = "com.opensymphony.xwork.dispatcher.ServletContext"; /** * Constant for the JSP {@link javax.servlet.jsp.PageContext page context}. */ public static final String PAGE_CONTEXT = "com.opensymphony.xwork.dispatcher.PageContext"; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy