tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weßling, Achim" <>
Subject Application-Tag
Date Tue, 23 Jan 2001 15:22:00 GMT

I try to use the attribute-Tag of the Application-TagLib. So I added the
following in my web.xml:

<? xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "">

    <description>Tag Extension Demo</description>


I thought this would declaire a variable with the name 'picpath' and the
value 'test', but if I try to use it in my jsp-File like this:

<%@ taglib uri="/infokomGT" prefix="infokomGT"%>
		<TITLE>User LOGIN to SD-IMS X-Projects</TITLE>
		<link REL="stylesheet" HREF="/WebSD/html/sd-ims.css">
	<BODY background="/websd/pics/hin1.jpg">
		<H1 align="center">User LOGIN f&uuml;r SD-IMS
		Aktuelles Datum: <B><infokomGT:timedate/></B>
                <infokomGT:attribute name="picpath"/>
                <infokomGT:equalsattribute name="picpath" match="test">
		<BR/>Hier kommt die Wurst<BR/>
		Aktuelle Session ID:<%=session.getId()%>
		Request:<%= request.getParameter("test")

All Application-Tags will be null. Where is my mistake?

Thanks a lot!

Achim Weßling

INFOKOM Gütersloh
Fachbereich Technische Anwendungen / Zentrale Anwendungen
Tel.: 05241/85-2926

View raw message