hi
In my application I need to pass a value of lastname as a hidden field from one
jsp to another jsp .In the last jsp I am storing lastname value into a bean so I have written -----
<form:form method="POST" commandName="user">
Credential:
<form:input path="credential" value="${param.fname}" />
Last Name:
<form:hidden path="lastName" value="${param.lname}" />
Password :
<form:password path="password"/>
<input type="submit" value="click it" />
</form:form>
lastName is a property of User class
after this flow goes to result.jsp in which I have written -----
<body bgcolor="#abcc3d">
<h1>Welcome to Kolkata </h1>
First Name : ${abc.credential}
Last Name : ${abc.lastName}
Password : ${abc.password}
</body>
I am getting credential and password but not getting lastName
what is the problem in here?
please give me some idea
Thanks in advance