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

META-INF.web-fragment.xml Maven / Gradle / Ivy

Go to download

AJAXJS aims to full-stack, not only the server-side framework, but also integrates the front-end library. It'€™s written in HTML5 + Java, a successor to the JVM platform, efficient, secure, stable, cross-platform and many other advantages, but it abandoned the traditional enterprise architecture brought about by the large and bloated, emphasizing the lightweight, and fast, very suitable for the Internet fast application.

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<web-fragment id="WebFragment_ID" version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-fragment_3_1.xsd">
	<display-name>aj-framework2</display-name>
	<name>aj_framework2</name>

<!--	<filter>
		<filter-name>InitMvcRequest</filter-name>
		<filter-class>com.ajaxjs.web.InitMvcRequest</filter-class>
	</filter>-->

<!--	<filter-mapping>
		<filter-name>InitMvcRequest</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>-->

	<!-- 启用 Spring -->
<!--	<listener>
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>-->

	<!-- 404 页面不存在错误 -->
	<error-page>
		<error-code>404</error-code>
		<location>/WEB-INF/jsp/404.jsp</location>
	</error-page>
	<!-- // -->

	<!-- 500 服务器内部错误 -->
<!-- 	<error-page>
		<error-code>500</error-code>
		<location>/WEB-INF/jsp/500.jsp</location>
	</error-page> -->
	<!-- // -->

	<!-- JSP 页面编码 -->
	<jsp-config>
		<jsp-property-group>
			<url-pattern>*.jsp</url-pattern>
			<page-encoding>UTF-8</page-encoding>
			<trim-directive-whitespaces>true</trim-directive-whitespaces>
		</jsp-property-group>
	</jsp-config>
	<!-- // -->

	<!-- 配置 Session 失效时间 -->
	<session-config>
		<session-timeout>90</session-timeout>
	</session-config>
</web-fragment>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy