I want to pass a single parameter with holds a username through a tag.
In the corrosponding action class I'm retreiving the parameter with request.getParameter() function, but I'm getting the value as null. here's my code
<%
String username="aniket";
request.setAttribute("username",username);
%>
<html:link action="AllResidentInfo.do" paramName="username" paramProperty="username">All Resident's Info</html:link>
What am I doing wrong