Are you using S1 or S2? I once implemented a S1 bread-crumbs facility using a custom RequestProcessor to put a stack of page url's into the user's session. This worked well, and allowed a page to return to any of the last 3 pages. I used it to go from the catalog page, where the user made a purchase selection, to a page showing details of the order item, and then back to the catalog page. Since the catalog page could be any of a number of pages, returning to the correct one required some special work. The lack of this feature is why on most e-purchase sites they have a link "continue shopping", which does NOT take you back to where you were. I've been wanting to implement a Struts-2 "BreadCrumbsInterceptor", or maybe a Filter, but have not gotten around to it. I'd be interested if anyone has done this.

- Ray Clough


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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to