Last active
March 1, 2023 10:37
-
-
Save yostane/449339a60fd8e2d9dc48c19da493ac63 to your computer and use it in GitHub Desktop.
JEE 10 jsp (src/webapp/index.jsp) and web.xml (src/webapp/META-INF/web.xml)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>JSP - Hello World</title> | |
| </head> | |
| <body> | |
| <h1><%= "Hello World!" %> | |
| </h1> | |
| <p/> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <web-app | |
| xmlns="https://jakarta.ee/xml/ns/jakartaee" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" | |
| version="5.0" | |
| metadata-complete="false"> | |
| <display-name> Welcome to WildFly</display-name> | |
| <description> Welcome to WildFly</description> | |
| <welcome-file-list> | |
| <welcome-file>index.jsp</welcome-file> | |
| <welcome-file>index.html</welcome-file> | |
| </welcome-file-list> | |
| </web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment