• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classic tags. browser is not responding.

 
Rajendra Nath
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...

I'm trying to execute the classic tag example of HFSJ.
I've deployed the appl as per servlets and jsp spec. but my browser is not responding to my request.

this is my jsp page

<%@ taglib prefix="my" uri="classictags" %>
<html><body>
<table>
<my:iterateMovies>
<tr><td>${movie}</td></tr>
</my:iterateMovies>
</table>
</body>
</html>


my tld file:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<taglib 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/web-jsptaglibrary_2_0.xsd"
version="2.0">
<tlib-version>1.2</tlib-version>
<uri>classictags</uri>

<tag>
<name>iterateMovies</name>
<tag-class>com.ClassicTag</tag-class>
<body-content>scriptless</body-content>
</tag>

</taglib>
 
KRK Gowda
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you send what browser shows and code for ClassicTag.java
 
Rajendra Nath
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's internet explorer.

The tag handler is the example of HFSJ on setting the attribute at pageContext scope.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic