【发布时间】:2016-07-20 10:39:38
【问题描述】:
我使用这个 html 代码导航到 JSF 页面:
<a href="NewCustomer.xhtml">New Customer</a>
这个 JSF 代码运行良好
<h:outputLink value="NewCustomer.xhtml" >
New Customer
</h:outputLink>
但是当我在不同的文件夹中有页面时,这不起作用。
如何在不同文件夹中的页面之间导航?
当我点击链接时得到这个结果:
http://localhost:8085/Crm_site/Dashboard.xhtml
我在这里导航:
http://localhost:8085/customers/Customers.xhtml
但它应该在这里
【问题讨论】:
-
但是会发生什么呢?二战?什么是生成的客户端? “不工作”不是开发人员应该报告的事情