JSTL (Standard Tag library - requires Servlet 2.3/JSP 1.2).
or I developed custom tags to do this (if/else/elseif/and/or and
switch/case/default) which Ted Husted put on his site at:
http://husted.com/struts/resources/logic-niallp.htm
Also I have a slightly improved version, see:
Exactly what I was looking for,
cheers,
adolfo
From: Niall Pemberton [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: comparations with OR, AND, NOT... in CustomTags
Date: Mon, 15 Apr 2002 20:13:56 +0100
JSTL
Adolfo,
The problem with putting or implementing a tag that performs complex AND,
ORs, NOT expressions, is that getting the data for those expressions to work
on could be tricky. There are just so many places that the data can come
from (page, request, session, application, beans, custom api
3 matches
Mail list logo