Hi All,
I have two questions about the use of sql:query:
1) Can sql:query handle aliases of the form select column1 as alias1 from
table1. I find nothing in variable.alias1. If not, how does sql:query
handle column name collisions (that are usually handled with an alias),
2) Can sql:query
When I try putting the '\\\n' in with the escapeXmL attribute set to false, I get this:
org.apache.jasper.JasperException: /filename.jsp(301,2) Attribute escapeXmL invalid
for
tag out according to TLD
Which makes no sense what-so-ever. I tried just putting the escapeXmL=false
attribute
in
you have a typo: the attribute is escapeXml ,not escapeXmL (look at the 'L')
-Original Message-
From: Keith [mailto:[EMAIL PROTECTED]
Sent: 14 April 2004 15:24
To: Tag Libraries Users List
Subject: Re: Replacing returns with br
When I try putting the '\\\n' in with the escapeXmL
Woops! :p
Well, that got rid of the invalid attribute error. But, it's not doing the replacing.
It
looks like it would if I just did a normal c:out.
I just went with a pre tag using a CSS style to change its appearance.
Thanks for the help, though!
-- Original Message ---
Andy,
You might want to check to see if your web.xml file is
setup correctly. Here is a link to the differences:
http://www.haidleconsulting.com/articles/jspdiffs/
You should make sure that your web.xml has the header
for JSP 2.0 (JSTL 1.1).
Derek
--- Andrew Nelson [EMAIL PROTECTED] wrote:
Have you tried just installing other jsp pages into your app's directory
(not auto-installing the example war file)? The reason I ask is that
your example works fine in the directory of a currently installed app of
mine. So it seems that it does have something to do with your app
installation
Hi,
If i have a page that does not participate in the session ( via %@
page session=false % )
Whenever I try to access some variable ( via either
x:set/x:out/x:forEach ) i get the following error ( listed at end )
Is this a known issue? Shouldn't the XPathUtil ignore the session scope
when
Fixing my web.xml fixed the problem. Thankyou so very much for your
help. I had been working on that for 3 days if you can believe it. You
fixed it for me in a matter of minutes.
Thanks again
//Andy
[EMAIL PROTECTED] 04/14/04 10:16AM
Andy,
You might want to check to see if your web.xml
Might be having a dense moment here, so excuse me if I'm missing something obvious...
Is there any kind of while conditional loop functionality in the JSTL? As far as I
can
see, c:forEach only loops for a fixed number of times, or once for each item in a
collection of some sort. Is there some
Ok, I can't find the answer to this problem in this
archive, the tag lib developers archive, the tomcat
archive, or the Sun java web site -- oh, and also
Google of course.
Here's the situation, I've got a single page with a
single line of code:
%@ taglib prefix=c
Brett Randall wrote:
I have two questions about the use of sql:query:
1) Can sql:query handle aliases of the form select column1 as alias1
from table1.
2) Can sql:query handle aggregates of the form select column1, count(*)
from table1 group by column1. With reference to 1) above, does
11 matches
Mail list logo