Very cool, this was a long time needed in JSP. I'm looking forward to this.
Cheers,
Mark
Shawn Bayern wrote:
On Sat, 31 Aug 2002, Mark R. Diggory wrote:
So, I'm wondering, if EL is going to be available in the JSP 2.0 Core.
Does this mean the following?
1.) Most taglibs for JSP 2.0
In building the Struts-EL tag library, I haven't ported Struts tags that
provide functionality that are directly supported in the JSTL. However, in
some of those tags I haven't ported, I have noticed one small feature that
isn't strictly provided in their JSTL analogs.
The issue is default
The c:out tag has just the sort of 'default' attribute you suggest; you
can use it in conjunction with c:set and many other JSTL tags.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On 31 Aug 2002, David M. Karr wrote:
In building the Struts-EL tag library, I haven't ported Struts
Shawn == Shawn Bayern [EMAIL PROTECTED] writes:
Shawn The c:out tag has just the sort of 'default' attribute you suggest; you
Shawn can use it in conjunction with c:set and many other JSTL tags.
Sigh. I probably looked at that page a hundred times.
--
Is there a practical way to import a file as a resource? The c:import tag
doesn't quite work. For example, I'd like to read in the /WEB-INF/web.xml
file and parse/display it. I can do this with Struts (bean:resource), but I'd
like to know for sure whether I can or can't do it with pure JSTL.
Martin == Martin Cooper [EMAIL PROTECTED] writes:
Martin I'm not sure why you say c:import won't work. You can do this, which I
Martin think is what you want:
Martin c:import var=xml url=/WEB-INF/web.xml/
Hmm. That wasn't working. The resulting variable was empty. I guess
I don't think this is available in the EL, but I'll ask just to make sure.
Struts property references allow you to specify array indices, like
arrayIndexed[3], when you have a method in your bean like this:
public int getArrayIndexed(int index) {
return (arrayName[index]);
}
On 31 Aug 2002, David M. Karr wrote:
JSTL can deal with the latter, allowing a reference like array[3].
I don't believe it will handle the former in any way. Is that
correct? I've tried some experiments and gone through the EL syntax,
and I don't see anything like this.
This is correct.
David == David M Karr [EMAIL PROTECTED] writes:
Martin == Martin Cooper [EMAIL PROTECTED] writes:
Martin I'm not sure why you say c:import won't work. You can do this, which I
Martin think is what you want:
Martin c:import var=xml url=/WEB-INF/web.xml/
David Hmm. That wasn't
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 31, 2002 9:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Any way to import file as a resource?
David == David M Karr [EMAIL PROTECTED] writes:
Martin == Martin Cooper [EMAIL PROTECTED]
10 matches
Mail list logo