You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by st...@apache.org on 2019/05/04 21:29:41 UTC
svn commit: r1858615 [1/32] - in /geronimo/specs/branches/jakarta:
geronimo-jakarta-jsp_spec/
geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/
geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/
geronimo-jakarta-jsp_spec/src/mai...
Author: struberg
Date: Sat May 4 21:29:39 2019
New Revision: 1858615
URL: http://svn.apache.org/viewvc?rev=1858615&view=rev
Log:
port servlet 4.0 over from tomcat
Added:
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/LocalStrings_cs.properties (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/LocalStrings_de.properties (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/LocalStrings_es.properties (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/LocalStrings_ko.properties (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/LocalStrings_zh_CN.properties (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/http/LocalStrings_de.properties (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/http/LocalStrings_ko.properties (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/http/LocalStrings_zh_CN.properties (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_5.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_6.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_7.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_8.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_web_services_1_2.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_web_services_1_3.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_web_services_1_4.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_web_services_client_1_2.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_web_services_client_1_3.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/javaee_web_services_client_1_4.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/jsp_2_0.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/jsp_2_1.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/jsp_2_2.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/jsp_2_3.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-app_3_0.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-app_3_1.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-app_4_0.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-common_3_0.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-common_3_1.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-common_4_0.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-fragment_3_0.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-fragment_3_1.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-fragment_4_0.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-jsptaglibrary_1_1.dtd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-jsptaglibrary_1_2.dtd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-jsptaglibrary_2_0.xsd (with props)
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-jsptaglibrary_2_1.xsd (with props)
Modified:
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/pom.xml
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/ErrorData.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/HttpJspPage.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspApplicationContext.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspContext.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspEngineInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspException.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspFactory.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspPage.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspTagException.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspWriter.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/PageContext.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/SkipPageException.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/ELException.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/ELParseException.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/Expression.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/ExpressionEvaluator.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/FunctionMapper.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/ImplicitObjectELResolver.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/ScopedAttributeELResolver.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/VariableResolver.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/el/package.html
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/package.html
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/BodyContent.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/BodyTag.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/BodyTagSupport.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/DynamicAttributes.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/FunctionInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/IterationTag.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/JspFragment.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/JspIdConsumer.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/JspTag.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/PageData.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/SimpleTag.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/SimpleTagSupport.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/Tag.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagAdapter.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagAttributeInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagData.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagExtraInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagFileInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagLibraryInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagLibraryValidator.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagSupport.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TagVariableInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/TryCatchFinally.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/ValidationMessage.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/VariableInfo.java
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/tagext/package.html
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/resources/javax/servlet/jsp/resources/jspxml.dtd
geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/resources/javax/servlet/jsp/resources/jspxml.xsd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/pom.xml
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/AsyncContext.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/AsyncEvent.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/AsyncListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/DispatcherType.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/Filter.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/FilterChain.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/FilterConfig.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/FilterRegistration.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/GenericServlet.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/HttpConstraintElement.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/HttpMethodConstraintElement.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/MultipartConfigElement.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ReadListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/Registration.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/RequestDispatcher.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/Servlet.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletConfig.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletContainerInitializer.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletContext.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletContextAttributeEvent.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletContextAttributeListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletContextEvent.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletContextListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletException.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletInputStream.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletOutputStream.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletRegistration.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletRequest.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletRequestAttributeEvent.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletRequestAttributeListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletRequestEvent.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletRequestListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletRequestWrapper.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletResponse.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletResponseWrapper.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/ServletSecurityElement.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/SessionCookieConfig.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/SessionTrackingMode.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/SingleThreadModel.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/UnavailableException.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/WriteListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/HandlesTypes.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/HttpConstraint.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/HttpMethodConstraint.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/MultipartConfig.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/ServletSecurity.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/WebFilter.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/WebInitParam.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/WebListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/annotation/WebServlet.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/descriptor/JspConfigDescriptor.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/descriptor/JspPropertyGroupDescriptor.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/descriptor/TaglibDescriptor.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/Cookie.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpServlet.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpServletRequest.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpServletRequestWrapper.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpServletResponse.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpServletResponseWrapper.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSession.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSessionActivationListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSessionAttributeListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSessionBindingEvent.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSessionBindingListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSessionContext.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSessionEvent.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSessionIdListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpSessionListener.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpUpgradeHandler.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/HttpUtils.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/Part.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/java/jakarta/servlet/http/WebConnection.java
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/LocalStrings.properties
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/LocalStrings_fr.properties
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/LocalStrings_ja.properties
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/http/LocalStrings.properties
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/http/LocalStrings_es.properties
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/http/LocalStrings_fr.properties
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/http/LocalStrings_ja.properties
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/XMLSchema.dtd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/datatypes.dtd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/j2ee_1_4.xsd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/j2ee_web_services_1_1.xsd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/j2ee_web_services_client_1_1.xsd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-app_2_2.dtd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-app_2_3.dtd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-app_2_4.xsd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/web-app_2_5.xsd
geronimo/specs/branches/jakarta/geronimo-jakarta-servlet_spec/src/main/resources/javax/servlet/resources/xml.xsd
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/pom.xml?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/pom.xml (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/pom.xml Sat May 4 21:29:39 2019
@@ -33,9 +33,9 @@
<groupId>org.apache.geronimo.jakarta-specs</groupId>
<artifactId>geronimo-jakarta-jsp_spec</artifactId>
<packaging>bundle</packaging>
- <name>Apache Geronimo Jakarta JSP Spec 2.2</name>
- <version>2.2_1-SNAPSHOT</version>
- <description>Jakarta Server Pages 2.2 API</description>
+ <name>Apache Geronimo Jakarta JSP Spec 2.3</name>
+ <version>2.3_1-SNAPSHOT</version>
+ <description>Jakarta Server Pages 2.3 API</description>
<url>http://geronimo.apache.org/maven/${siteId}/${version}</url>
<distributionManagement>
@@ -51,15 +51,15 @@
<dependencies>
<dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-servlet_3.0_spec</artifactId>
- <version>1.0</version>
+ <groupId>org.apache.geronimo.jakarta-specs</groupId>
+ <artifactId>geronimo-jakarta-servlet_spec</artifactId>
+ <version>4.0_1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-el_2.2_spec</artifactId>
- <version>1.0</version>
+ <groupId>org.apache.geronimo.jakarta-specs</groupId>
+ <artifactId>geronimo-jakarta-el_spec</artifactId>
+ <version>2.2_1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/ErrorData.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/ErrorData.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/ErrorData.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/ErrorData.java Sat May 4 21:29:39 2019
@@ -1,54 +1,55 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package javax.servlet.jsp;
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package jakarta.servlet.jsp;
/**
- * Contains information about an error, for error pages.
- * The information contained in this instance is meaningless if not used
- * in the context of an error page. To indicate a JSP is an error page,
- * the page author must set the isErrorPage attribute of the page directive
- * to "true".
+ * Contains information about an error, for error pages. The information
+ * contained in this instance is meaningless if not used in the context of an
+ * error page. To indicate a JSP is an error page, the page author must set the
+ * isErrorPage attribute of the page directive to "true".
*
* @see PageContext#getErrorData
* @since 2.0
*/
-
public final class ErrorData {
- private Throwable throwable;
- private int statusCode;
- private String uri;
- private String servletName;
+ private final Throwable throwable;
+ private final int statusCode;
+ private final String uri;
+ private final String servletName;
/**
* Creates a new ErrorData object.
*
- * @param throwable The Throwable that is the cause of the error
- * @param statusCode The status code of the error
- * @param uri The request URI
- * @param servletName The name of the servlet invoked
+ * @param throwable
+ * The Throwable that is the cause of the error
+ * @param statusCode
+ * The status code of the error
+ * @param uri
+ * The request URI
+ * @param servletName
+ * The name of the servlet invoked
*/
- public ErrorData( Throwable throwable, int statusCode, String uri,
- String servletName )
- {
- this.throwable = throwable;
- this.statusCode = statusCode;
- this.uri = uri;
- this.servletName = servletName;
+ public ErrorData(Throwable throwable, int statusCode, String uri,
+ String servletName) {
+ this.throwable = throwable;
+ this.statusCode = statusCode;
+ this.uri = uri;
+ this.servletName = servletName;
}
/**
@@ -57,7 +58,7 @@ public final class ErrorData {
* @return The Throwable that caused the error
*/
public Throwable getThrowable() {
- return this.throwable;
+ return this.throwable;
}
/**
@@ -66,7 +67,7 @@ public final class ErrorData {
* @return The status code of the error
*/
public int getStatusCode() {
- return this.statusCode;
+ return this.statusCode;
}
/**
@@ -75,7 +76,7 @@ public final class ErrorData {
* @return The request URI
*/
public String getRequestURI() {
- return this.uri;
+ return this.uri;
}
/**
@@ -84,6 +85,6 @@ public final class ErrorData {
* @return The name of the servlet invoked
*/
public String getServletName() {
- return this.servletName;
+ return this.servletName;
}
}
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/HttpJspPage.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/HttpJspPage.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/HttpJspPage.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/HttpJspPage.java Sat May 4 21:29:39 2019
@@ -14,13 +14,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
-package javax.servlet.jsp;
-import javax.servlet.*;
-import javax.servlet.http.*;
+package jakarta.servlet.jsp;
+
import java.io.IOException;
+import jakarta.servlet.ServletException;
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletResponse;
+
/**
* The HttpJspPage interface describes the interaction that a JSP Page
* Implementation Class must satisfy when using the HTTP protocol.
@@ -29,7 +31,7 @@ import java.io.IOException;
* The behaviour is identical to that of the JspPage, except for the signature
* of the _jspService method, which is now expressible in the Java type
* system and included explicitly in the interface.
- *
+ *
* @see JspPage
*/
@@ -46,8 +48,8 @@ public interface HttpJspPage extends Jsp
*
* @param request Provides client request information to the JSP.
* @param response Assists the JSP in sending a response to the client.
- * @throws ServletException Thrown if an error occurred during the
- * processing of the JSP and that the container should take
+ * @throws ServletException Thrown if an error occurred during the
+ * processing of the JSP and that the container should take
* appropriate action to clean up the request.
* @throws IOException Thrown if an error occurred while writing the
* response for this page.
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspApplicationContext.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspApplicationContext.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspApplicationContext.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspApplicationContext.java Sat May 4 21:29:39 2019
@@ -1,20 +1,20 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package javax.servlet.jsp;
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package jakarta.servlet.jsp;
import javax.el.ELContextListener;
import javax.el.ELResolver;
@@ -24,54 +24,57 @@ import javax.el.ExpressionFactory;
* <p>
* Stores <i>application</i>-scoped information for the JSP container.
* </p>
+ *
* @since 2.1
*/
public interface JspApplicationContext {
- /**
- * <p>
- * Registers an <code>ELContextListener</code> that will notified whenever
- * a new <code>ELContext</code> is created.
- * </p>
- * <p>
- * At the very least, any <code>ELContext</code> instantiated will have reference
- * to the <code>JspContext</code> under <code>JspContext.class</code>.
- * </p>
- *
- * @param listener
- */
- public void addELContextListener(ELContextListener listener);
-
- /**
- * <p>
- * Adds an <code>ELResolver</code> to the chain of EL variable and property management
- * within JSP pages and Tag files.
- * </p>
- * <p>
- * JSP has a default set of ELResolvers to chain for all EL evaluation:
- * <ul>
- * <li><code>ImplicitObjectELResolver</code></li>
- * <li><code>ELResolver</code> instances registered with this method</li>
- * <li><code>MapELResolver</code></li>
- * <li><code>ListELResolver</code></li>
- * <li><code>ArrayELResolver</code></li>
- * <li><code>BeanELResolver</code></li>
- * <li><code>ScopedAttributeELResolver</code></li>
- * </ul>
- * </p>
- *
- * @param resolver an additional resolver
- * @throws IllegalStateException if called after the application's <code>ServletContextListeners</code> have been initialized.
- */
- public void addELResolver(ELResolver resolver) throws IllegalStateException;
-
- /**
- * <p>
- * Returns the JSP container's <code>ExpressionFactory</code> implementation for EL use.
- * </p>
- *
- * @return an <code>ExpressionFactory</code> implementation
- */
- public ExpressionFactory getExpressionFactory();
-
+ /**
+ * Registers an <code>ELContextListener</code> that will be notified
+ * whenever a new <code>ELContext</code> is created.
+ * <p>
+ * At the very least, any <code>ELContext</code> instantiated will have
+ * reference to the <code>JspContext</code> under
+ * <code>JspContext.class</code>.
+ *
+ * @param listener The listener to add
+ */
+ public void addELContextListener(ELContextListener listener);
+
+ /**
+ * <p>
+ * Adds an <code>ELResolver</code> to the chain of EL variable and property
+ * management within JSP pages and Tag files.
+ * </p>
+ * <p>
+ * JSP has a default set of ELResolvers to chain for all EL evaluation:
+ * </p>
+ * <ul>
+ * <li><code>ImplicitObjectELResolver</code></li>
+ * <li><code>ELResolver</code> instances registered with this method</li>
+ * <li><code>MapELResolver</code></li>
+ * <li><code>ListELResolver</code></li>
+ * <li><code>ArrayELResolver</code></li>
+ * <li><code>BeanELResolver</code></li>
+ * <li><code>ScopedAttributeELResolver</code></li>
+ * </ul>
+ *
+ * @param resolver
+ * an additional resolver
+ * @throws IllegalStateException
+ * if called after the application's
+ * <code>ServletContextListeners</code> have been initialized.
+ */
+ public void addELResolver(ELResolver resolver) throws IllegalStateException;
+
+ /**
+ * <p>
+ * Returns the JSP container's <code>ExpressionFactory</code> implementation
+ * for EL use.
+ * </p>
+ *
+ * @return an <code>ExpressionFactory</code> implementation
+ */
+ public ExpressionFactory getExpressionFactory();
+
}
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspContext.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspContext.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspContext.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspContext.java Sat May 4 21:29:39 2019
@@ -13,34 +13,32 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-*/
-package javax.servlet.jsp;
+*/
+package jakarta.servlet.jsp;
import java.util.Enumeration;
import javax.el.ELContext;
-import javax.servlet.jsp.el.ExpressionEvaluator;
-import javax.servlet.jsp.el.VariableResolver;
/**
* <p>
- * <code>JspContext</code> serves as the base class for the
+ * <code>JspContext</code> serves as the base class for the
* PageContext class and abstracts all information that is not specific
* to servlets. This allows for Simple Tag Extensions to be used
* outside of the context of a request/response Servlet.
* <p>
- * The JspContext provides a number of facilities to the
+ * The JspContext provides a number of facilities to the
* page/component author and page implementor, including:
* <ul>
* <li>a single API to manage the various scoped namespaces
* <li>a mechanism to obtain the JspWriter for output
- * <li>a mechanism to expose page directive attributes to the
+ * <li>a mechanism to expose page directive attributes to the
* scripting environment
* </ul>
*
* <p><B>Methods Intended for Container Generated Code</B>
* <p>
- * The following methods enable the <B>management of nested</B> JspWriter
+ * The following methods enable the <B>management of nested</B> JspWriter
* streams to implement Tag Extensions: <code>pushBody()</code> and
* <code>popBody()</code>
*
@@ -54,15 +52,15 @@ import javax.servlet.jsp.el.VariableReso
* The methods are:
* <code>setAttribute()</code>, <code>getAttribute()</code>,
* <code>findAttribute()</code>, <code>removeAttribute()</code>,
- * <code>getAttributesScope()</code> and
+ * <code>getAttributesScope()</code> and
* <code>getAttributeNamesInScope()</code>.
- *
+ *
* <p>
* The following methods provide <B>convenient access</B> to implicit objects:
* <code>getOut()</code>
*
* <p>
- * The following methods provide <B>programmatic access</b> to the
+ * The following methods provide <B>programmatic access</b> to the
* Expression Language evaluator:
* <code>getExpressionEvaluator()</code>, <code>getVariableResolver()</code>
*
@@ -72,16 +70,17 @@ import javax.servlet.jsp.el.VariableReso
public abstract class JspContext {
/**
- * Sole constructor. (For invocation by subclass constructors,
+ * Sole constructor. (For invocation by subclass constructors,
* typically implicit.)
*/
public JspContext() {
+ // NOOP by default
}
-
- /**
+
+ /**
* Register the name and value specified with page scope semantics.
- * If the value passed in is <code>null</code>, this has the same
- * effect as calling
+ * If the value passed in is <code>null</code>, this has the same
+ * effect as calling
* <code>removeAttribute( name, PageContext.PAGE_SCOPE )</code>.
*
* @param name the name of the attribute to set
@@ -90,41 +89,41 @@ public abstract class JspContext {
* @throws NullPointerException if the name is null
*/
- abstract public void setAttribute(String name, Object value);
+ public abstract void setAttribute(String name, Object value);
/**
- * Register the name and value specified with appropriate
- * scope semantics. If the value passed in is <code>null</code>,
+ * Register the name and value specified with appropriate
+ * scope semantics. If the value passed in is <code>null</code>,
* this has the same effect as calling
* <code>removeAttribute( name, scope )</code>.
- *
+ *
* @param name the name of the attribute to set
* @param value the object to associate with the name, or null if
* the attribute is to be removed from the specified scope.
* @param scope the scope with which to associate the name/object
- *
+ *
* @throws NullPointerException if the name is null
* @throws IllegalArgumentException if the scope is invalid
- * @throws IllegalStateException if the scope is
+ * @throws IllegalStateException if the scope is
* PageContext.SESSION_SCOPE but the page that was requested
* does not participate in a session or the session has been
* invalidated.
*/
- abstract public void setAttribute(String name, Object value, int scope);
+ public abstract void setAttribute(String name, Object value, int scope);
/**
* Returns the object associated with the name in the page scope or null
* if not found.
*
* @param name the name of the attribute to get
- * @return the object associated with the name in the page scope
+ * @return the object associated with the name in the page scope
* or null if not found.
- *
+ *
* @throws NullPointerException if the name is null
*/
- abstract public Object getAttribute(String name);
+ public abstract Object getAttribute(String name);
/**
* Return the object associated with the name in the specified
@@ -134,16 +133,16 @@ public abstract class JspContext {
* @param scope the scope with which to associate the name/object
* @return the object associated with the name in the specified
* scope or null if not found.
- *
+ *
* @throws NullPointerException if the name is null
- * @throws IllegalArgumentException if the scope is invalid
- * @throws IllegalStateException if the scope is
+ * @throws IllegalArgumentException if the scope is invalid
+ * @throws IllegalStateException if the scope is
* PageContext.SESSION_SCOPE but the page that was requested
* does not participate in a session or the session has been
* invalidated.
*/
- abstract public Object getAttribute(String name, int scope);
+ public abstract Object getAttribute(String name, int scope);
/**
* Searches for the named attribute in page, request, session (if valid),
@@ -155,7 +154,7 @@ public abstract class JspContext {
* @throws NullPointerException if the name is null
*/
- abstract public Object findAttribute(String name);
+ public abstract Object findAttribute(String name);
/**
* Remove the object reference associated with the given name
@@ -165,7 +164,7 @@ public abstract class JspContext {
* @throws NullPointerException if the name is null
*/
- abstract public void removeAttribute(String name);
+ public abstract void removeAttribute(String name);
/**
* Remove the object reference associated with the specified name
@@ -174,14 +173,14 @@ public abstract class JspContext {
* @param name The name of the object to remove.
* @param scope The scope where to look.
* @throws IllegalArgumentException if the scope is invalid
- * @throws IllegalStateException if the scope is
+ * @throws IllegalStateException if the scope is
* PageContext.SESSION_SCOPE but the page that was requested
* does not participate in a session or the session has been
* invalidated.
* @throws NullPointerException if the name is null
*/
- abstract public void removeAttribute(String name, int scope);
+ public abstract void removeAttribute(String name, int scope);
/**
* Get the scope where a given attribute is defined.
@@ -191,43 +190,46 @@ public abstract class JspContext {
* @throws NullPointerException if the name is null
*/
- abstract public int getAttributesScope(String name);
+ public abstract int getAttributesScope(String name);
/**
* Enumerate all the attributes in a given scope.
*
* @param scope the scope to enumerate all the attributes for
- * @return an enumeration of names (java.lang.String) of all the
+ * @return an enumeration of names (java.lang.String) of all the
* attributes the specified scope
* @throws IllegalArgumentException if the scope is invalid
- * @throws IllegalStateException if the scope is
+ * @throws IllegalStateException if the scope is
* PageContext.SESSION_SCOPE but the page that was requested
* does not participate in a session or the session has been
* invalidated.
*/
- abstract public Enumeration<String> getAttributeNamesInScope(int scope);
+ public abstract Enumeration<String> getAttributeNamesInScope(int scope);
/**
* The current value of the out object (a JspWriter).
*
* @return the current JspWriter stream being used for client response
*/
- abstract public JspWriter getOut();
-
+ public abstract JspWriter getOut();
+
/**
* Provides programmatic access to the ExpressionEvaluator.
- * The JSP Container must return a valid instance of an
+ * The JSP Container must return a valid instance of an
* ExpressionEvaluator that can parse EL expressions.
*
* @return A valid instance of an ExpressionEvaluator.
* @since 2.0
+ * @deprecated As of JSP 2.1, replaced by
+ * JspApplicationContext.getExpressionFactory()
*/
- public abstract ExpressionEvaluator getExpressionEvaluator();
-
-
+ @SuppressWarnings("dep-ann") // TCK signature test fails with annotation
+ public abstract javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator();
+
+
public abstract ELContext getELContext();
-
+
/**
* Returns an instance of a VariableResolver that provides access to the
* implicit objects specified in the JSP specification using this JspContext
@@ -235,9 +237,14 @@ public abstract class JspContext {
*
* @return A valid instance of a VariableResolver.
* @since 2.0
+ * @deprecated As of JSP 2.1,
+ * replaced by javax.el.ELContext.getELResolver()
+ * which can be obtained by
+ * jspContext.getELContext().getELResolver()
*/
- public abstract VariableResolver getVariableResolver();
-
+ @SuppressWarnings("dep-ann") // TCK signature test fails with annotation
+ public abstract javax.servlet.jsp.el.VariableResolver getVariableResolver();
+
/**
* Return a new JspWriter object that sends output to the
* provided Writer. Saves the current "out" JspWriter,
@@ -245,13 +252,13 @@ public abstract class JspContext {
* page scope attribute namespace of the JspContext.
* <p>The returned JspWriter must implement all methods and
* behave as though it were unbuffered. More specifically:
+ * </p>
* <ul>
* <li>clear() must throw an IOException</li>
* <li>clearBuffer() does nothing</li>
* <li>getBufferSize() always returns 0</li>
* <li>getRemaining() always returns 0</li>
* </ul>
- * </p>
*
* @param writer The Writer for the returned JspWriter to send
* output to.
@@ -261,7 +268,7 @@ public abstract class JspContext {
public JspWriter pushBody( java.io.Writer writer ) {
return null; // XXX to implement
}
-
+
/**
* Return the previous JspWriter "out" saved by the matching
* pushBody(), and update the value of the "out" attribute in
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspEngineInfo.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspEngineInfo.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspEngineInfo.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspEngineInfo.java Sat May 4 21:29:39 2019
@@ -13,8 +13,8 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-*/
-package javax.servlet.jsp;
+*/
+package jakarta.servlet.jsp;
/**
* The JspEngineInfo is an abstract class that provides information on the
@@ -24,12 +24,13 @@ package javax.servlet.jsp;
public abstract class JspEngineInfo {
/**
- * Sole constructor. (For invocation by subclass constructors,
+ * Sole constructor. (For invocation by subclass constructors,
* typically implicit.)
*/
public JspEngineInfo() {
+ // NOOP by default
}
-
+
/**
* Return the version number of the JSP specification that is supported by
* this JSP engine.
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspException.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspException.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspException.java Sat May 4 21:29:39 2019
@@ -14,88 +14,88 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package javax.servlet.jsp;
+package jakarta.servlet.jsp;
/**
* A generic exception known to the JSP engine; uncaught
* JspExceptions will result in an invocation of the errorpage
* machinery.
*/
-
public class JspException extends Exception {
+ private static final long serialVersionUID = 1L;
+
+
/**
* Construct a JspException.
*/
public JspException() {
+ // NOOP
}
/**
* Constructs a new JSP exception with the
- * specified message. The message can be written
- * to the server log and/or displayed for the user.
- *
- * @param msg a <code>String</code>
- * specifying the text of
- * the exception message
+ * specified message. The message can be written
+ * to the server log and/or displayed for the user.
*
+ * @param msg a <code>String</code> specifying the text of the exception
+ * message
*/
public JspException(String msg) {
- super(msg);
+ super(msg);
}
/**
- * Constructs a new JSP exception when the JSP
- * needs to throw an exception and include a message
- * about the "root cause" exception that interfered with its
- * normal operation, including a description message.
- *
- *
- * @param message a <code>String</code> containing
- * the text of the exception message
- *
- * @param rootCause the <code>Throwable</code> exception
- * that interfered with the servlet's
- * normal operation, making this servlet
- * exception necessary
- *
+ * Constructs a new <code>JSPException</code> with the specified detail
+ * message and cause. The cause is saved for later retrieval by the
+ * <code>java.lang.Throwable.getCause()</code> and {@link #getRootCause()}
+ * methods.
+ *
+ * @see java.lang.Exception#Exception(String, Throwable)
+ *
+ * @param message a <code>String</code> containing the text of the
+ * exception message
+ *
+ * @param cause the <code>Throwable</code> exception that
+ * interfered with the JSP's normal operation,
+ * making this JSP exception necessary
*/
-
- public JspException(String message, Throwable rootCause) {
- super(message, rootCause);
+
+ public JspException(String message, Throwable cause) {
+ super(message, cause);
}
/**
- * Constructs a new JSP exception when the JSP
- * needs to throw an exception and include a message
- * about the "root cause" exception that interfered with its
- * normal operation.
- *
- *
- * @param rootCause the <code>Throwable</code> exception
- * that interfered with the JSP's
- * normal operation, making the JSP exception
- * necessary
- *
+ * Constructs a new <code>JSPException</code> with the specified cause.
+ * The cause is saved for later retrieval by the
+ * <code>java.lang.Throwable.getCause()</code> and {@link #getRootCause()}
+ * methods.
+ *
+ * @see java.lang.Exception#Exception(Throwable)
+ *
+ * @param cause the <code>Throwable</code> exception that
+ * interfered with the JSP's normal operation, making
+ * the JSP exception necessary
*/
- public JspException(Throwable rootCause) {
- super(rootCause);
+ public JspException(Throwable cause) {
+ super(cause);
}
-
+
/**
* Returns the exception that caused this JSP exception.
*
+ * @return the <code>Throwable</code> that caused this JSP exception
*
- * @return the <code>Throwable</code>
- * that caused this JSP exception
- *
+ * @deprecated As of JSP 2.1, replaced by
+ * <code>java.lang.Throwable.getCause()</code>
*/
+ @SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public Throwable getRootCause() {
- return getCause();
+ return getCause();
}
}
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspFactory.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspFactory.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspFactory.java Sat May 4 21:29:39 2019
@@ -14,42 +14,42 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package javax.servlet.jsp;
+package jakarta.servlet.jsp;
-import javax.servlet.Servlet;
-import javax.servlet.ServletContext;
-import javax.servlet.ServletRequest;
-import javax.servlet.ServletResponse;
-import javax.servlet.jsp.PageContext;
+import jakarta.servlet.Servlet;
+import jakarta.servlet.ServletContext;
+import jakarta.servlet.ServletRequest;
+import jakarta.servlet.ServletResponse;
/**
* <p>
* The JspFactory is an abstract class that defines a number of factory
* methods available to a JSP page at runtime for the purposes of creating
- * instances of various interfaces and classes used to support the JSP
+ * instances of various interfaces and classes used to support the JSP
* implementation.
* <p>
* A conformant JSP Engine implementation will, during it's initialization
- * instantiate an implementation dependent subclass of this class, and make
+ * instantiate an implementation dependent subclass of this class, and make
* it globally available for use by JSP implementation classes by registering
* the instance created with this class via the
* static <code> setDefaultFactory() </code> method.
* <p>
- * The PageContext and the JspEngineInfo classes are the only implementation-dependent
- * classes that can be created from the factory.
+ * The PageContext and the JspEngineInfo classes are the only
+ * implementation-dependent classes that can be created from the factory.
* <p>
* JspFactory objects should not be used by JSP page authors.
*/
public abstract class JspFactory {
- private static JspFactory deflt = null;
-
+ private static volatile JspFactory deflt = null;
+
/**
- * Sole constructor. (For invocation by subclass constructors,
+ * Sole constructor. (For invocation by subclass constructors,
* typically implicit.)
*/
public JspFactory() {
+ // NOOP by default
}
/**
@@ -58,11 +58,11 @@ public abstract class JspFactory {
* any principal other than the JSP Engine runtime to call this method.
* </p>
*
- * @param deflt The default factory implementation
+ * @param deflt The default factory implementation
*/
- public static synchronized void setDefaultFactory(JspFactory deflt) {
- JspFactory.deflt = deflt;
+ public static void setDefaultFactory(JspFactory deflt) {
+ JspFactory.deflt = deflt;
}
/**
@@ -71,20 +71,20 @@ public abstract class JspFactory {
* @return the default factory for this implementation
*/
- public static synchronized JspFactory getDefaultFactory() {
- return deflt;
+ public static JspFactory getDefaultFactory() {
+ return deflt;
}
/**
* <p>
- * obtains an instance of an implementation dependent
+ * obtains an instance of an implementation dependent
* javax.servlet.jsp.PageContext abstract class for the calling Servlet
* and currently pending request and response.
* </p>
*
* <p>
- * This method is typically called early in the processing of the
- * _jspService() method of a JSP implementation class in order to
+ * This method is typically called early in the processing of the
+ * _jspService() method of a JSP implementation class in order to
* obtain a PageContext object for the request being processed.
* </p>
* <p>
@@ -96,61 +96,62 @@ public abstract class JspFactory {
* by invoking releasePageContext().
* </p>
*
- * @param servlet the requesting servlet
- * @param request the current request pending on the servlet
- * @param response the current response pending on the servlet
- * @param errorPageURL the URL of the error page for the requesting JSP, or null
+ * @param servlet the requesting servlet
+ * @param request the current request pending on the servlet
+ * @param response the current response pending on the servlet
+ * @param errorPageURL the URL of the error page for the requesting JSP, or
+ * null
* @param needsSession true if the JSP participates in a session
- * @param buffer size of buffer in bytes, PageContext.NO_BUFFER if no buffer,
- * PageContext.DEFAULT_BUFFER if implementation default.
- * @param autoflush should the buffer autoflush to the output stream on buffer
- * overflow, or throw an IOException?
+ * @param buffer size of buffer in bytes, {@link JspWriter#NO_BUFFER}
+ * if no buffer, {@link JspWriter#DEFAULT_BUFFER}
+ * if implementation default.
+ * @param autoflush should the buffer autoflush to the output stream on
+ * buffer overflow, or throw an IOException?
*
* @return the page context
*
* @see javax.servlet.jsp.PageContext
*/
- public abstract PageContext getPageContext(Servlet servlet,
- ServletRequest request,
- ServletResponse response,
- String errorPageURL,
- boolean needsSession,
- int buffer,
- boolean autoflush);
+ public abstract PageContext getPageContext(Servlet servlet,
+ ServletRequest request, ServletResponse response,
+ String errorPageURL, boolean needsSession, int buffer,
+ boolean autoflush);
/**
* <p>
* called to release a previously allocated PageContext object.
* Results in PageContext.release() being invoked.
- * This method should be invoked prior to returning from the _jspService() method of a JSP implementation
- * class.
+ * This method should be invoked prior to returning from the _jspService()
+ * method of a JSP implementation class.
* </p>
*
* @param pc A PageContext previously obtained by getPageContext()
*/
-
public abstract void releasePageContext(PageContext pc);
/**
* <p>
- * called to get implementation-specific information on the current JSP engine.
+ * called to get implementation-specific information on the current JSP
+ * engine.
* </p>
*
* @return a JspEngineInfo object describing the current JSP engine
*/
-
+
public abstract JspEngineInfo getEngineInfo();
-
+
/**
* <p>
- * Obtain the <code>JspApplicationContext</code> instance that was associated
- * within the passed <code>ServletContext</code> for this web application.
+ * Obtain the <code>JspApplicationContext</code> instance that was
+ * associated within the passed <code>ServletContext</code> for this web
+ * application.
* </p>
- *
+ *
* @param context the current web application's <code>ServletContext</code>
* @return <code>JspApplicationContext</code> instance
* @since 2.1
*/
- public abstract JspApplicationContext getJspApplicationContext(ServletContext context);
+ public abstract JspApplicationContext getJspApplicationContext(
+ ServletContext context);
}
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspPage.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspPage.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspPage.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspPage.java Sat May 4 21:29:39 2019
@@ -13,10 +13,10 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-*/
-package javax.servlet.jsp;
+*/
+package jakarta.servlet.jsp;
-import javax.servlet.*;
+import jakarta.servlet.Servlet;
/**
* The JspPage interface describes the generic interaction that a JSP Page
@@ -79,7 +79,7 @@ public interface JspPage extends Servlet
/**
* The jspDestroy() method is invoked when the JSP page is about to be
* destroyed.
- *
+ *
* A JSP page can override this method by including a definition for it
* in a declaration element.
*
Modified: geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspTagException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspTagException.java?rev=1858615&r1=1858614&r2=1858615&view=diff
==============================================================================
--- geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspTagException.java (original)
+++ geronimo/specs/branches/jakarta/geronimo-jakarta-jsp_spec/src/main/java/jakarta/servlet/jsp/JspTagException.java Sat May 4 21:29:39 2019
@@ -1,93 +1,85 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package javax.servlet.jsp;
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package jakarta.servlet.jsp;
/**
- * Exception to be used by a Tag Handler to indicate some unrecoverable
- * error.
+ * Exception to be used by a Tag Handler to indicate some unrecoverable error.
* This error is to be caught by the top level of the JSP page and will result
* in an error page.
*/
-
public class JspTagException extends JspException {
+
+ private static final long serialVersionUID = 1L;
+
/**
- * Constructs a new JspTagException with the specified message.
- * The message can be written to the server log and/or displayed
- * for the user.
- *
- * @param msg a <code>String</code> specifying the text of
- * the exception message
+ * Constructs a new JspTagException with the specified message. The message
+ * can be written to the server log and/or displayed for the user.
+ *
+ * @param msg
+ * a <code>String</code> specifying the text of the exception
+ * message
*/
public JspTagException(String msg) {
- super( msg );
+ super(msg);
}
/**
* Constructs a new JspTagException with no message.
*/
public JspTagException() {
- super();
+ super();
}
/**
- * Constructs a new JspTagException when the JSP Tag
- * needs to throw an exception and include a message
- * about the "root cause" exception that interfered with its
- * normal operation, including a description message.
- *
- *
- * @param message a <code>String</code> containing
- * the text of the exception message
- *
- * @param rootCause the <code>Throwable</code> exception
- * that interfered with the JSP Tag's
- * normal operation, making this JSP Tag
- * exception necessary
- *
+ * Constructs a new JspTagException when the JSP Tag needs to throw an
+ * exception and include a message about the "root cause" exception that
+ * interfered with its normal operation, including a description message.
+ *
+ * @param message
+ * a <code>String</code> containing the text of the exception
+ * message
+ * @param rootCause
+ * the <code>Throwable</code> exception that interfered with the
+ * JSP Tag's normal operation, making this JSP Tag exception
+ * necessary
* @since 2.0
*/
public JspTagException(String message, Throwable rootCause) {
- super( message, rootCause );
+ super(message, rootCause);
}
-
/**
- * Constructs a new JSP Tag exception when the JSP Tag
- * needs to throw an exception and include a message
- * about the "root cause" exception that interfered with its
- * normal operation. The exception's message is based on the localized
- * message of the underlying exception.
- *
- * <p>This method calls the <code>getLocalizedMessage</code> method
- * on the <code>Throwable</code> exception to get a localized exception
- * message. When subclassing <code>JspTagException</code>,
- * this method can be overridden to create an exception message
- * designed for a specific locale.
- *
- * @param rootCause the <code>Throwable</code> exception
- * that interfered with the JSP Tag's
- * normal operation, making the JSP Tag
- * exception necessary
- *
+ * Constructs a new JSP Tag exception when the JSP Tag needs to throw an
+ * exception and include a message about the "root cause" exception that
+ * interfered with its normal operation. The exception's message is based on
+ * the localized message of the underlying exception.
+ * <p>
+ * This method calls the <code>getLocalizedMessage</code> method on the
+ * <code>Throwable</code> exception to get a localized exception message.
+ * When subclassing <code>JspTagException</code>, this method can be
+ * overridden to create an exception message designed for a specific locale.
+ *
+ * @param rootCause
+ * the <code>Throwable</code> exception that interfered with the
+ * JSP Tag's normal operation, making the JSP Tag exception
+ * necessary
* @since 2.0
*/
-
public JspTagException(Throwable rootCause) {
- super( rootCause );
+ super(rootCause);
}
-
}