• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transfer objects between jsp files  RSS feed

 
Chen Yanush
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have two files ,the first is userRegistration :

<html:html>
<head>
<title>User Registration</title>
</head>
<body>
<h1>User Registration</h1>
<html:errors/>
<table>
<html:form action="/userRegistrationAction.do" method="post">
<!-- firatName -->
<tr>
<td>
<bean:message key="userRegistration.firstName"/>*
</td>
<td>
<html:text property="firstName" />
</td>
</tr>
<!-- submit , cancel -->
<tr>
<td>
<html:submit value="Submit" property="Submit"/>
</td>
<td>
<html:cancel />
</td>
</tr>
</html:form>
</table>
</body>
</html:html>

and the second is regSuccess:

<html:html>
<head>
<title>
regSuccess
</title>
</head>
<body bgcolor="#808080">
<h1>
User Registration Was Successful!
</h1>
<table>
<tr>
<td>
<bean:message key="userRegistration.firstName" />
</td>
<td>
<bean:write name="user" property="firstName" />
</td>
</tr>
</table>
</body>
</html:html>

I create a new file (link.jsp) and I won't to transfer the firstName property from regSuccess.jsp to link.jsp but I don�t now how.
Can somebody help me here?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!