【发布时间】:2019-05-19 00:45:12
【问题描述】:
我们有一个要求,我们需要实现以下目标: 我们应该被重定向到https://localhost:9002/basesiteid/。 但我们有一个要求,其中 URL 应解析为https://localhost:9002/。 不应在 URL 中附加 Basesite id。
我们进行了以下更改。
hac.webroot=/hac
storefront.webroot=
storefrontContextRoot=
我们还对 WCMS->Website 中的 URL 编码属性进行了以下更改。 URL 编码属性
在所有页面上发布我们收到以下错误的更改,
javax.servlet.jsp.JspTagException: In URL tags, when the "context" attribute is specified, values of both "context" and "url" must start with "/"
有什么方法可以从 URL 中删除 basesite id ???
【问题讨论】:
-
您没有提到您在 URL 编码属性中所做的更改。检查this answer。
标签: hybris contextpath