Multiple attributes within an element - Is this a legal thing to do?

2003-10-20 Thread Frank Börncke
Hello, defining a custom tag DEFINESET in a taglib having an attribute called ELEMENT we want to use this attribute multiple times as follows: x:DEFINESET ELEMENT = x ELEMENT = y ELEMENT = z / Deployed in a Tomcat environment this results in multiple calls of the setter

Re: Multiple attributes within an element - Is this a legal thing to do?

2003-10-20 Thread Mark R. Diggory
Sorry, from all my understanding, thats just not allowed in XML. Attributes always have to be unique keys. When trying to build sets on a key I would recommend separate nested tags x:DEFINESET x:ELEMENT val=x/ x:ELEMENT val=y/ x:ELEMENT val=z/ /x:DEFINESET You can make a public

AW: Multiple attributes within an element - Is this a legal thingto do?

2003-10-20 Thread Frank Börncke
Thanks for your reply. Sorry, from all my understanding, thats just not allowed in XML. JSP looks like XML but is it required for JSP to exactly match the XML restrictions? At least multiple attributes work in Tomcat 4.1.12 quite fine. If I use this feature(?) in our project, I am am not sure

is this link correct?

2003-10-20 Thread David Liles
I am trying to use jstl and when I include the following line in my JSP I get an error indicating it can not find the uri %@ taglib prefix=c uri=http://java.sun.com/jstl/core; % Is this link even valid? - To unsubscribe,

Re: AW: Multiple attributes within an element - Is this a legal thingto do?

2003-10-20 Thread Mark R. Diggory
Frank Börncke wrote: Thanks for your reply. Sorry, from all my understanding, thats just not allowed in XML. JSP looks like XML but is it required for JSP to exactly match the XML restrictions? I would avoid anything thats not XML, JSP's can also be written as legal XML. If you violate the

Re: is this link correct?

2003-10-20 Thread Mark R. Diggory
Are you adding the taglib mapping to your web.xml? for example taglib taglib-urihttp://java.sun.com/jstl/core/taglib-uri taglib-location/WEB-INF/tld/c.tld/taglib-location /taglib David Liles wrote: I am trying to use jstl and when I include the following line in my JSP I get an

RE: is this link correct?

2003-10-20 Thread David Liles
I had the tld in the web.xml file but I had the wrong path ops... I corrected the path and now I'm getting the following: org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/tld/c.tld: Invalid PUBLIC ID: To develop locally I am using Tomcat 4.0.3 and jstl 1.1

Re: Simple question, taglibs on eclipse-specific

2003-10-20 Thread Pierre Delisle
Manos, What you're doing seems correct. To make sure there is no typo anywhere, why don't you just try a simple webapp with tomcat 5 only. If it works, then there's definitely a problem with eclipse and I'd suggest you try an eclipse support list. -- Pierre Manos Papantoniou wrote: I have a

RE: is this link correct?

2003-10-20 Thread Wallace
I've got almost the same problem, my tomcat is 4.0.3 so therefore it would be for JSP 1.2, but my script uses ${param.var} for EL and I use c:choosec:when test=${param.var eq 'whatever'}do whatever/c:when/c:choose I want to use ${param.var} as the way I would for core_rt in tomcat 5. I tested in

Re: iterator problem

2003-10-20 Thread Pierre Delisle
David Liles wrote: I am trying to use the iterator tag and am unclear on a couple items. I have been using the following example as a template: iter:forCategories var=athlete items=${athletes} iter:category value=${athlete.country} iter:header h3c:out

RE: iterator problem

2003-10-20 Thread David Liles
I think I've been using the wrong version of tomcat I just downloaded version 5 but I'm not sure how to integrate it with JBuilder 7. -Original Message- From: Pierre Delisle [mailto:[EMAIL PROTECTED] Sent: Mon 10/20/2003 1:25 PM To: Tag