My JSP (source below) isn't displaying the value attribute of the <c:out> tag. Based on the code below, my ${param.username} is being evaluated correctly. The JSP page is accessed with a request parameter of ?username=jeff.
Any thoughts on why? I feel like I'm missing something simple here.
JSP, output, and source after translation/compilation below:
prac.jsp
<html xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<head><title>Practice JSP</title></head>
<body>
<h2>Practice JSP</h2>
Username: <c:out value="${param.username}" default="No username"/><br/>
</body>
</html>
Output
Practice JSP
Username:
Source (right click, view page source from browser)
<html xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<head><title>Practice JSP</title></head>
<body>
<h2>Practice JSP</h2>
Username: <c:out value="jeff" default="No username"/><br/>
</body>
</html>