Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 jspx 中有几个页面,并创建了一个 navigation.jspx。这包含指向各个页面的链接。我正在使用模型视图控制器架构,如下所示的正常方式不起作用。
<a href="products.jspx">View All Products</a>
然而,下面的代码可以工作,但是一旦我点击了两次链接,它就会回溯,我收到一条错误消息。
<a href="../products.jspx">View All Products</a>
我将如何纠正这一点?