<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"
    prefix="fmt" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head><title>Message Bundle Example</title></head>
    <body>
        <form>
            <fmt:bundle basename="messages">
            <table>
                <tr><td>
                    <fmt:message key="first.name"/>
                </td><td><input type="text" name="firstname"></td></tr>
                <tr><td>
                    <fmt:message key="last.name"/>
                </td><td><input type="text" name="lastname"></td></tr>
            </table>
            </fmt:bundle>
            <input type="submit" value="Submit">
        </form>
    </body>
</html>