Debian Codegraph @

jetty-ee10/jetty-ee10-demos/jetty-ee10-demo-spec/jetty-ee10-demo-spec-webapp/src/main/webapp/index.html

raw
1 <html>
2 <head>
3 <title>Demo Specification WebApp</title>
4 <meta http-equiv="Pragma" content="no-cache">
5 <meta http-equiv="Cache-Control" content="no-cache,no-store">
6 <link rel="stylesheet" type="text/css" href="demo.css"/>
7 </head>
8 <body>
9 <div class="topnav">
10 <a class="menu" href="http://localhost:8080/">Demo Home</a>
11 <a class="menu" href="https://github.com/jetty/jetty.project/tree/jetty-12.0.x/jetty-ee10/jetty-ee10-demos/jetty-ee10-demo-spec/jetty-ee10-demo-spec-webapp/">Source</a>
12 <a class="menu" href="https://jetty.org/">Jetty Project Home</a>
13 <a class="menu" href="https://jetty.org/docs/">Documentation</a>
14 <a class="menu" href="https://webtide.com">Commercial Support</a>
15 </div>
16
17 <div class="content">
18 <center>
19 <span style="color:red; font-style:italic; font-weight:bold">Demo Web Application Only - Do NOT Deploy in Production</span>
20 </center>
21
22 <h1>Servlet 6.0 Demo WebApp</h1>
23 <p>This example tests some aspects of the servlet specification:</p>
24 <ul>
25 <li>context defaults</li>
26 <li>servlet annotations</li>
27 <li>web-fragments</li>
28 <li>servlet container initializers</li>
29 <li>multi-part upload support</li>
30 </ul>
31
32 <h3>Test Defaults, Annotations, Fragments and Initializers</h3>
33 <form action="test" method="post">
34 <button class="test" type="submit">Test</button>
35 </form>
36
37 <h3>Test Dynamically Added JSP File</h3>
38 <p>Click the link to test accessing a programmatically added jsp file:</p>
39 <a href="dynamicjsp/x">Dynamically added jsp </a>
40
41 <h3>Test Static Content from Fragment </h3>
42 <p>Click the link to test accessing static content from a fragment's META-INF/resources:</p>
43 <a href="fragmentA/index.html">Static resource from a fragment </a>
44
45 <h3>Test Servlet from Fragment </h3>
46 <p>Click the link to test accessing a servlet added from a fragment's web-fragment.xml:</p>
47 <a href="fragment">Servlet added by web-fragment.xml</a>
48
49 <h3>Test DeclaresRoles</h3>
50 <p>Login as user <code>admin</code> with password <code>admin</code> when prompted after clicking the button below to test @DeclareRoles annotation:</p>
51 <form action="role" method="post">
52 <button class="test" type="submit">Test Role Annotations</button>
53 </form>
54
55 <h3>Test Servlet Security</h3>
56 <p>Login as user <code>admin</code> with password <code>admin</code> when prompted after clicking the button below to test @ServletSecurity annotation:</p>
57 <form action="sec/foo" method="post">
58 <button class="test" type="submit">Test ServletSecurity Annotation</button>
59 </form>
60
61 <h3>Test Servlet Multipart Mime</h3>
62 Test the annotation:
63 <pre>
64 @MultipartConfig(location="foo/bar", maxFileSize=10240, maxRequestSize=-1, fileSizeThreshold=2048)
65 </pre>
66 <form enctype="multipart/form-data" action="multi" method=POST>
67 File to upload: <input class="test" name="userfile1" type="file">
68 <input class="test" type="submit" value="Test Upload">
69 </form>
70
71 <h3>AsyncListener Resource Injection</h3>
72 <p>Click the following link to test that <code>jakarta.servlet.AsyncListeners</code> are injectable:</p>
73 <form action="asy/xx" method="post">
74 <button class="test" type="submit">Test AsyncListener</button>
75 </form>
76
77 <h3>Test ClassPath Isolation </h3>
78 <p>Click the link to test classpath isolation of system and server classes:</p>
79 <a href="classloader">ClassPathServlet</a>
80 </div>
81
82 <div class="footer">
83 <center><a href="https://jetty.org"><img style="border:0" src="small_powered_by.gif"/></a></center>
84 </div>
85 </body>
86 </html>