在jsf中重写URL [英] Rewriting URL in jsf

查看:104
本文介绍了在jsf中重写URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是jsf的新手.

当前我的应用程序网址如下

Currently my application URL looks like

http://localhost/practice/pages/page1.xhtml

问题是我如何重写网址使其像

Question is how I rewrite the URL to make it like

http://localhost/practice/page1.xhtml

基本上我想隐藏页面.

推荐答案

您可以使用 prettyfaces 用于在jsf中重写url.它是开源的,易于使用

You can use prettyfaces for rewriting url in jsf.it is open source and easy for use

这篇关于在jsf中重写URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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