I Have a Project Structure like this :-Project Structure
I want only the home.xhtml to be accesible when user hits the url and the healthCheck and error should not be (test is temporary will be deleted).
I tried Placing the two xhtml files in detailed info folder but the css wont work
my css linking style -<link rel="stylesheet" href="../css/normalize.css"></link>
and also if we put he css apart the page loads but when i referesh the page eg - localhost:9080/Dashboarddetails/detailedinfo/healthcheck.xhtml
it gives http 403 error as access in denied it only loads the first time.
I have used security constraint but it not working please help
<security-constraint>
<display-name>Restrict raw XHTML Documents</display-name>
<web-resource-collection>
<web-resource-name>XHTML</web-resource-name>
<url-pattern>/detailedinfo/*</url-pattern>
</web-resource-collection>
<auth-constraint />
</security-constraint>
<url-pattern>/detailedinfo/*.xhtml</url-pattern>
did not work so used the above one