< Java EE

JSP

Helló Világ

hello.jsp
<%@page language="java" contentType="text/html; charset=utf-8" %>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<h1>Helló Világ</h1>
 
<%
	out.println("Valami<br>más valami<br>" );
	out.println("<p>" + request.getRemoteAddr() +"</p>");
%>
 
</body>
</html>