Advertisement
Goddino

index.jps

Jul 3rd, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.20 KB | None | 0 0
  1. <%@page import="com.factory.web1.Utils"%>
  2. <%@ page import="java.util.concurrent.TimeUnit"%>
  3. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  4.    pageEncoding="ISO-8859-1"%>
  5. <!DOCTYPE html>
  6. <html lang="en">
  7.     <head>
  8.         <meta charset="ISO-8859-1">
  9.         <meta name="keywords" content="Test, HelloWorld, Java, Tomcat, JSP">
  10.         <meta name="description" content="My first jsp project">
  11.         <meta name="author" content="Lorenzo Pellegrini">
  12.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  13.         <meta name="application-name" content="JPS Hello World">
  14.         <!--<meta http-equiv="refresh" content="1">-->
  15.         <link href="./css/style.css" rel="stylesheet" type="text/css">
  16.         <title>
  17.             JPS Hello World
  18.         </title>
  19.     </head>
  20.     <body>
  21.         <%
  22.             Utils u = new Utils();
  23.             out.println(u.PostNewLine("Hello :)"));
  24.             out.println(u.PostNewLine("I'm Alexa, your personal assistant"));
  25.             out.println("Let me know your name");
  26.         %>
  27.         <form action="/Prova/CiaoMondo" method="post">
  28.             <input type="text" name="name" placeholder="Enter your name" id="nameText"
  29.             autofocus required>
  30.             <input type="submit" value="Hello Alexa" name="submitButton" id="submitButton">
  31.         </form>
  32.     </body>
  33. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement