My Oracle Support Banner

WebLogic does not Find JSP's Embedded in the JAR File in WEB-INF/lib Directory (Doc ID 2355776.1)

Last updated on FEBRUARY 22, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

JSR-000315 Java Servlet 3.0 Final Release
http://download.oracle.com/otndocs/jcp/servlet-3.0-fr-eval-oth-JSpec/

This document says /WEB-INF/lib/*.jar can contain JSPs .
 
10.5 Directory Structure
The /WEB-INF/lib/*.jar area for Java ARchive files. These files contain servlets, beans, static resources and JSPs packaged in a JAR file and other utility classes useful to the Web application.

PROBLEM:
If statically include JSP in jar, the include file is not found.

eg: <%@ include file="/WEB-INF/jsp/include.jsp"%>                

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.