<?xml version="1.0" encoding="UTF-8"?> <web-app 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-app_3_1.xsd" version="3.1" metadata-complete="true"> <display-name>wl_test</display-name> <welcome-file-list> <welcome-file>test.jsp</welcome-file> </welcome-file-list> <servlet> <servlet-name>test</servlet-name> <servlet-class>action.Test</servlet-class> </servlet> <servlet-mapping> <servlet-name>test</servlet-name> <url-pattern>/test</url-pattern> </servlet-mapping> </web-app>
Similar Posts:
- [Solved] Spring Error: Artifact spring:war exploded: Error during artifact deployment. See server log for details
- [Solved] IDEA javaweb web.xml File Error: Invalid content was found starting with element
- The requested resource [/servlet] in JavaWeb is not available [How to Solve]
- [Solved] com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes
- Configure Struts2 web.xml to report an error [How to Solve]
- Error 404 when accessing pictures in the project directory
- maven web web.xmlThe markup in the document following the root element must be well-formed.
- [Solved] IDEA: JSP Could Not Use session Build-in Object
- [Solved] Warning: Servlet threw load() exception java.lang.ClassNotFoundException: org.glassfish.jersey.servlet…
- import javax.servlet.http.HttpSession;