Error with JSTL tag

2003-03-11 Thread Mike Deegan
I am having problems implementing the JSTL tag. I am using Resin 3.0. I get the following error (see below) when trying to display following JSP code ... displays ok without the tag === <%@ page language="java" %> <%@ tagl

Re: Help with JSTL/fmt-rt parameter substitution

2003-03-11 Thread Pierre Delisle
Check bug #14590 for some explanations on this. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14590 From a comment on that bug report: This is not a bug in JSTL, but a peculiarity of how a single quote is interpreted by java.text.MessageFormat. For more details, you may want to check bug

Help with JSTL/fmt-rt parameter substitution

2003-03-11 Thread Gary Roberts
I have a problem with a parameter not getting subtituted, using JSTL/fmt-rt. Here is the jstl: This is what the resulting string in the rendered page looks like: Your download should begin momentarily. If the download doesn't start, {0} click here {1}. The begin and end anchor ta

RE: Java constants as attribute values

2003-03-11 Thread Chen, Gin
It is a nice trick. What would be even nicer is when JSP 2.0 comes out and allows JSTL support of method calls and static variables ;) -Tim -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:16 AM To: Tag Libraries Users List Subject: Re: Java

Re: Java constants as attribute values

2003-03-11 Thread Henri Yandell
Nice trick :) On Tue, 11 Mar 2003, Serge Knystautas wrote: > Karr, David wrote: > > The JSTL EL references JavaBeans properties, collections, and maps. That's it. > > If you want to reference a constant, you'll have to have your business or setup > > logic put the constant into a JavaBean pr

Re: Java constants as attribute values

2003-03-11 Thread Serge Knystautas
Karr, David wrote: The JSTL EL references JavaBeans properties, collections, and maps. That's it. If you want to reference a constant, you'll have to have your business or setup logic put the constant into a JavaBean property, collection, or map. What we did was create a servlet context listener

RE: Java constants as attribute values

2003-03-11 Thread Karr, David
The JSTL EL references JavaBeans properties, collections, and maps. That's it. If you want to reference a constant, you'll have to have your business or setup logic put the constant into a JavaBean property, collection, or map. > -Original Message- > From: René Zanner [mailto:[EMAIL PR

Java constants as attribute values

2003-03-11 Thread René Zanner
Hello, I have a question regarding usage of Java Constants as attribute values. In STRUTS I can do the following: In JSTL, I wanted to do something similar, like: (I know that the syntax is not correct!) It seems that it's not really possible to do something like that with JSTL. Anyway - d