what's wrong with jstl? <c:choose> <c:when test="${yourVar eq '1'}"> do this </c:when> <c:when test="${yourVar eq '2'}"> do that </c:when> <c:otherwise> do something else </c:otherwise> <c:choose>
> -----Original Message----- > From: Marsh-Bourdon, Christopher > [mailto:[EMAIL PROTECTED] > Sent: 09 May 2005 14:14 > To: 'Struts Users Mailing List' > Subject: Switch Tags > > > I will of course be going off to Google in a moment, but I would like > anyone's recommendation for a Tag(s) that enable the coder to > perform a > Switch/Case like function within the JSP. I could of course > write one, but > I'm lazy! > > Cheers > > Christopher Marsh-Bourdon > www.marsh-bourdon.com > ------ > > > -------------------------------------------------------------- > ------------------ > The information contained herein is confidential and is > intended solely for the > addressee. Access by any other party is unauthorised without > the express > written permission of the sender. If you are not the intended > recipient, please > contact the sender either via the company switchboard on +44 > (0)20 7623 8000, or > via e-mail return. If you have received this e-mail in error > or wish to read our > e-mail disclaimer statement and monitoring policy, please refer to > http://www.drkw.com/disc/email/ or contact the sender. 3166 > -------------------------------------------------------------- > ------------------ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software <a href="http://www.qas.com">www.qas.com</a> Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]