Solved

The c:out value not pinting in JSP

Posted on 2007-11-26
2
323 Views
Last Modified: 2013-11-24
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
Comment
Question by:huzefaq
2 Comments
 
LVL 27

Accepted Solution

by:
mrcoffee365 earned 250 total points
ID: 20354808
Have you tried explicitly defining the c tag lib like this?:
< %@ taglib prefix="c" uri="http://java.sun.com/jstl/ea/core" %>
0
 
LVL 2

Expert Comment

by:amateur83
ID: 20356477
<%@ taglib uri="/tags/core" prefix="c"%>
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
hasOne  challenge 59 138
hibernate example using maven 12 42
sql import cannot be resolved jsp 3 23
going to wrong jsp page 2 21
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question