21 February 2012

Empty JSP template

Here an empty JSP template, providing basic settings for UTF-8 character encoding configuration.
 
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
   <head>
      <title>Your page title here!</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
   <body>Your markup here!</body>
</html>

No comments:

Post a Comment