Getting the request parameter
by Frank Kim on Apr.10, 2009, under JSTL, Page Development
I always forget how to do this so I thought I should write it down.
In JSP:
<%=request.getParameter("foo")%>
<img src="<%=request.getParameter("foo")%>">
In JSTL:
<c:out value="${param.foo}"/>
In DSP:
<dspel:valueof param="foo"/>
Related posts: