• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

The c:out value not pinting in JSP

Hi Guys

I am trying to print a sample statement in a JSP but somehow it's not printing it. Would you guys know what can be the problem
This is not pinting <c:out value="I am here" />



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<html:html>
<HEAD>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM Software Development Platform">
<TITLE></TITLE>
</HEAD>
 
<BODY>
<P>Place content here.
<c:out value="I am here" />
</P>
 
</BODY>
</html:html>

Open in new window

0
huzefaq
Asked:
huzefaq
1 Solution
 
mrcoffee365Commented:
Have you tried explicitly defining the c tag lib like this?:
< %@ taglib prefix="c" uri="http://java.sun.com/jstl/ea/core" %>
0
 
amateur83Commented:
<%@ taglib uri="/tags/core" prefix="c"%>
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now