Anil Sharma wrote:Hi,
Thanks for your valuable suggestions.
I know that we can't access resources inside the WEB-INF by directly using URL to protect them.
I think the way which I put my question is not correct.
I should ask like �what things (factors) are responsible to prevent the access of resources inside WEB-INF in the web application?� Is there any mapping defined in the server for that or what?
Please send your valuable suggestions.
Anil that is a nice questions.
Java SecurityManager is the one responsible for making this rule by granting permission to WEB-INF in policy file format.
looks like you can give such capability given to WEB-INF to your desired directory by editing :
$CATALINA_HOME/conf/catalina.policy file.
for more information go through this link (its interesting)
'Programming > Java' 카테고리의 다른 글
아파치 톰캣 태크라이브러리Taglibs 다운로드 (0) | 2022.04.20 |
---|---|
자바 프로젝트 DB연결하기 (0) | 2022.04.19 |
클래스 변수, 인스턴스 변수, 지역 변수 (0) | 2022.03.24 |
객체지향 프로그래밍의 현실세계 예시 (클래스, 객체, 캡슐화, 추상화, 상속, 다형성) (0) | 2022.03.24 |
자바 상속 오버라이드 override annotation (0) | 2022.03.23 |