tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weßling, Achim" <Achim.Wessl...@gt-net.de>
Subject SCOPE:attribute didn't work!?
Date Fri, 30 Mar 2001 09:16:27 GMT
Hallo,

I try the following:

    <jdbc:resultSet id="rs1">
        <jdbc:wasNotEmpty>
            <scope:setAttribute
name="sqlCount"><jdbc:rowCount/></scope:setAttribute>
            <scope:setAttribute name="UserID"><jdbc:getColumn
position="1"/></scope:setAttribute>
            <scope:equals match="1" attribute="sqlCount">
                <%-- START: Hier Code einfügen für gelungenen LOGIN --%>
                <br>UserID: <scope:attribute name="UserID"/>
                <scope:exists attribute="UserID"><br>UserID
existiert!</scope:exists>
                <br>Host: <%= request.getHeader("Host") %>
                <br>Time: <infokomGT:timedate format="time"/>
                <br>Date: <infokomGT:timedate format="date"/>

I set the attributes 'sqlCount' and 'UserID'. Later I want to output
'UserID', but <scope:attribute name="UserID"/> didn't work, where for the
equals-Tag and the exists-Tag work!
Where is my mistake? I also looked at the source, but didn't find a mistake
inside?!

A little hint would be nice! Thanks a lot!

Achim Weßling

**************************************************************************
INFOKOM Gütersloh
Fachbereich Technische Anwendungen / Zentrale Anwendungen
Tel.: 05241/85-2926
Achim.Wessling@gt-net.de
http://www.infokom-gt.de/produkte/gis/index.htm


                  _\|/_
                  (o o)
       ---oOO-{_}-OOo---



Mime
View raw message