• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Transfer objects between jsp files

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic