To remove the language toggle from the page view(Comfirmation Page)
I found this code but it doesn't work in Spring MVC
<c:if test="${!fn:contains(pageContext.request.servletPath,'/comfirmation')}">
//Other Code
</c:if>
- My actual url is (ShoppingCart.jsp).
- It is used when /viewCart.htm,/updateCart.htm,/Confirmation.htm,etc.
- So, the user go to the /Confirmation.htm, it also redirect to the ShoppingCart.jsp but the url path in the browser is /Confirmation.htm.
- I want to remove the language toggle when call the /Confirmation.htm in the above mention.