Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/jsf/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf 为医生档案制作短url_Jsf_Jsf 2_Url Rewriting - Fatal编程技术网

Jsf 为医生档案制作短url

Jsf 为医生档案制作短url,jsf,jsf-2,url-rewriting,Jsf,Jsf 2,Url Rewriting,我使用JSF2.0和MySQL创建了一个网站 我有一个页面显示医生档案: http://www.example.com/faces/doctorProfile.xhtml?profileName=drrajesh 我的客户询问的是以下问题之一: http://www.example.com/drrajesh http://www.example.com/faces/drrajesh 他们想要它就像Facebook/instagram一样 你知道如何在JSF中做到这一点吗 注意:我只想将此信息

我使用JSF2.0和MySQL创建了一个网站

我有一个页面显示医生档案:

http://www.example.com/faces/doctorProfile.xhtml?profileName=drrajesh
我的客户询问的是以下问题之一:

http://www.example.com/drrajesh
http://www.example.com/faces/drrajesh
他们想要它就像Facebook/instagram一样

你知道如何在JSF中做到这一点吗

注意:我只想将此信息用于此特定页面,而不是整个网站。

即使我得到的网址如下是罚款与我

htttp://wwww.mywebsite.com/doctorprofile/drrajesh

编辑1 而我的研究发现下面的链接

但我不知道如何在我的案例中使用


这对于静态url更改很有用,但在我的例子中是不同的。我的url是动态的。

到目前为止你做了哪些研究/尝试了哪些事情?@snickers1m:检查我更新的问题是否有相同之处……你所做的没有解决问题的研究与所做的研究一样有用,因为它使我们能够关注问题,并可能引入以前不明显的约束。因此,我们要求进行研究。感谢您的更新,我现在可以满怀信心地投票了。:)@斯尼克:检查。这对我有帮助吗?我想这会有很大帮助。。。明天会调查更多。。。现在睡觉时间。。。我在打哈欠,因为。。。Zzzzz。。。。