250x250
반응형
Servlet 3.0 which Tomcat 7 supports includes the ability to package jsps into a jar.
You need to:
- place your jsps in META-INF/resources directory of your jar
- optionally include a web-fragment.xml in the META-INF directory of your jar
- place the jar in WEB-INF/lib directory of your war
You should then be able to reference your jsps in your context. For example if you have a jsp META-INF/resources/test.jsp you should be able reference this at the root of your context as test.jsp
반응형
'IT > PROGRAMMING' 카테고리의 다른 글
[Spring] Spring bean의 scope를 prototype만 가능하도록 하려면? (0) | 2019.02.06 |
---|---|
iOS MDM Vendor CSR Signing (0) | 2019.02.06 |
[Linux] libXss 라이브러리 파일 없을 때 (0) | 2019.02.06 |
[iOS] How to send parameters to UIWebView when loading a local file (0) | 2019.02.06 |
[Objective-C] UTF-8 환경에서 한글의 길이를 2바이트로 얻는 방법 (0) | 2019.02.06 |