wood burning stoves 2.0
The moose likes BEA/Weblogic and the fly likes JSTL tags not recognized on JSP (weblogic) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JSTL tags not recognized on JSP (weblogic)" Watch "JSTL tags not recognized on JSP (weblogic)" New topic

JSTL tags not recognized on JSP (weblogic)

Sue Ching

Joined: Apr 26, 2013
Posts: 1

I am trying to use the JSTL Core tag libraries in my application deployed on weblogic 10.3

I copied the JSTL libraries (standard.jar & jstl.jar) to WEB-INF/lib.

Declared in jsp:

<%@ taglib prefix="abc" uri="http://java.sun.com/jsp/jstl/core" %>


<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">



<c:import var = "mageData" url="https://XXX.com/yyy.jsp" />
<c:if test = "${mageData!=null && not empty mageData}">
<c:out value="${mageData}" />


Nothing displays on the browser (as if the code does not exist)

Clicking on "View Source" of the webpage shows the

<c:import var = "mageData" url="https://XXX.com/yyy.jsp" />
<c:if test = "false">
<c:out value="" />

Please assist.
Mansukhdeep Thind
Ranch Hand

Joined: Jul 27, 2010
Posts: 1157

When you say:

, it means that the core tag libraries located at the respective uri can be accessed using the prefix provided. You have to use abc as the prefix I believe. Why are you using c? Read this tutorial to understand how tag libraries work.

~ Mansukh
Have you checked out Aspose?
subject: JSTL tags not recognized on JSP (weblogic)
It's not a secret anymore!