I hope I am interpreting your question properly. If not, sorry. It sounds like you are asking when you return to page 1 from page 2 should you re-populate the page 1 form. The answer is usually yes. Either Struts-1 or Struts-2 tags will help in the re-population. If you want to use plain html tags with refresh, you can use the jsp EL to repopulate, something like **input type="text" name="userName" value="${userName}"** If 'userName' is found in the jsp-accessible scope, the box will be re-populated.
Probably you should not re-populate sensitive fields like SSN or password, however. - Ray Clough Thanks for the answers, but I would like a direct answer to my questions (1)... (2)... . Any thoughts? Zhang, Larry (L.) wrote: > Say I have two Jsp pages, Page 1, Page 2. > > On page 1 I have some text fields such as Name, SSN for example, and the > user types in Name and SSN and then submit the form and the navigation > goes to page 2. On page 2 I have the bread crumb trail saying Page 1>> > Page 2. Notice that Page 1 is a clickable link, and when you click on > the link, Page 1 is shown. (Page 2, on the bread crumb trail, is not > clickable since the current page is Page 2) > > My question is: (1) in current J2EE/Struts industry standard, does it > make sense to display the data that the user entered on Page 1 for Name > and SSN when coming from the bread crumb trail on Page 2? (2) what > technique I need to use to see the data that the user typed in for Name > and SSN on Page 1, when coming from the bread crumb trail on Page 2? > > My application is a Struts and J2EE based application. > > Thanks. > -- View this message in context: http://www.nabble.com/How-to-forward-to-an-unknown-view-in-Struts-2--tf3718165.html#a10443961 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]