cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

When i remove storefront field under urlEncodingAttributes, i get error.

Former Member
0 Likes
565

I get this error. Error processing component tag. currentComponent [ProductCarouselComponentModel (8796120581180@1)] exception: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: In URL tags, when the "context" attribute is specified, values of both "context" and "url" must start with "/".

Please help me, Thanks.

site.impex

INSERT_UPDATE CMSSite;uid[unique=true];theme(code);channel(code);stores(uid);contentCatalogs(id);defaultCatalog(id);defaultLanguage(isoCode);urlPatterns;active;previewURL;startingPage(uid,$contentCV);urlEncodingAttributes;defaultPromotionGroup(Identifier)[default=examplePromoGrp] ;$siteUid;lambda;B2B;$storeUid;$contentCatalog;$productCatalog;$defaultLanguage;(?s).*;true;$storefrontContextRoot/?site=$siteUid;homepage;;;

local.properties

storefrontContextRoot=

examplestorefront.webroot=

website.example.http=http://localhost:9001

website.example.https=https://localhost:9002

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi i had the same issue check the productPrimaryImage.tag for "context="${originalContextPath}" removing it or setting value to "/" should solve your problem.