Configuring the root path is not the appropriate fix for your problem. The application should work whatever the root path is. Simply use the JSTL <c:url>
tag or the struts tag to generate your URLs:
<link href="<c:url value='/pv/common/css/style.css'/>" .../>