0

我在 jspx 上有一个链接,它将带您到另一个 jspx 页面。例如,我在主页上,然后单击应该打开名为 products 的 jspx 的链接。我用过这段代码

<a href="products">View all products</a>

但它不起作用。我该怎么做?

4

1 回答 1

0

应该指向实际页面本身(使用有效的hrefURL),例如products.jspx.

例子:

<a href="products.jspx">View All Products</a>

如果您的产品页面位于另一个文件夹中:

<a href="folder/products.jspx">View All Products</a>
于 2011-12-06T17:10:39.030 回答