网页导航 [英] Web page navigation

查看:89
本文介绍了网页导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找有关如何为基于Spring的Web应用程序最佳实现网页导航逻辑的指南.例如:我有一个网页"C",如果单击确定",则要返回到页面"A"(如果是前一页),或者要返回页面"B"(如果是前一页).我目前正在使用页面上的隐藏字段来跟踪到达的页面...但是我认为必须有更好的方法...

I'm looking for guidelines for how to best implement web page navigation logic for a Spring based web application. For example: I have a web page 'C' where if I click ok, I want flow to return to page 'A' if that was the previous page, or page 'B' if that was the previous page. I am currently using hidden fields on a page to track from which page I arrived...but I think there must be a better way...

推荐答案

我的建议是使用Spring Web Flow(http://www.springsource.org/webflow).

My suggestion would be to use Spring Web Flow (http://www.springsource.org/webflow).

它完全可以做您想要的.控制页面之间的流.

It's intended to do exactly what you want. Control the flows between pages.

两个月前我开始使用它,我喜欢它.

I start using it a couple of month ago and I love it.

这篇关于网页导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆