Re: DBtags ( accessing the Result Set returned from the DAO )

2002-10-09 Thread Poornima Shrihari
not yet, i shall be doing it tomorrowits almost time to pack my bag and go home now. shall let you know tomorrow. thanks again. - Original Message - From: "Stefan" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Thursday, October 10, 2002 4:38 PM Subject:

Re: DBtags ( accessing the Result Set returned from the DAO )

2002-10-09 Thread Stefan
So you got it to work? Stef - Original Message - From: "Poornima Shrihari" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Thursday, October 10, 2002 1:59 AM Subject: Re: DBtags ( accessing the Result Set returned from the DAO ) > Stefan, > dont bother, i fo

Does JSTL XML taglibs ignore XMLNamespace of input document?

2002-10-09 Thread matsuhashi
Hi, I just started learning JSTL, am especially interested in XML-related taglibs. I use jakarta-taglibs/standard-1.0.1 on tomcat4.1.3. I coded the following JSP page - <%@ taglib uri="/WEB-INF/x.tld" prefix="x" %> boon baan $NoNS

Re: DBtags ( accessing the Result Set returned from the DAO )

2002-10-09 Thread Poornima Shrihari
Stefan, dont bother, i found the answer myself as i read through the spec. thanks a lot... poornima - Original Message - From: "Poornima Shrihari" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Thursday, October 10, 2002 3:47 PM Subject: Re: DBtags ( accessi

Re: DBtags ( accessing the Result Set returned from the DAO )

2002-10-09 Thread Poornima Shrihari
hi Stefan, Would this ( JSTL tag library ) work for a SQL results set? The JSTL spec lists the data types that are supported for "items" in the forEach tag. And it incluses Arrays, java.util.Collection etc. It does not mention SQL. Thanks, poornima - Original Message - From: "Stefan" <

Re: DBtags ( accessing the Result Set returned from the DAO )

2002-10-09 Thread Stefan
Hi: Did this to access a simple Java bean that has a method that returns a cached rowset. import : javax.servlet.jsp.jstl.sql.* // Using static methods of the imported class. Result r = ResultSupport.toResult(your_Method_that_Returns_a_cached_recordset); pageContext.setAttribute("r", r); ..

DBtags ( accessing the Result Set returned from the DAO )

2002-10-09 Thread Poornima Shrihari
hi all, I have a query on dbtags tag library. I have an enterprise application where the DAO accesses the database and returns the ResultSet to the JSP ( via EJB ). How can I access this ResultSet directly in the JSP ( without using the sql:query tag ). Thanks, poornima

Re: JSTL and sort ordering of the item in the Result object.

2002-10-09 Thread Stefan
Thanks, Stefan - Original Message - From: "Pierre Delisle" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 5:35 PM Subject: Re: JSTL and sort ordering of the item in the Result object. > Stefan wrote: > > > > My previous email w

Re: JSTL and sort ordering of the item in the Result object.

2002-10-09 Thread Pierre Delisle
Stefan wrote: > > My previous email was a little too vague so I will try again. > > I am populating a JSTL Result object with a cached Rowset derived from a bean method >like so: > > Result r = ResultSupport.toResult(dataBase.getAllUsers()); > pageContext.setAttribute("r", r); > > I then loop

JSTL and sort ordering of the item in the Result object.

2002-10-09 Thread Stefan
My previous email was a little too vague so I will try again. I am populating a JSTL Result object with a cached Rowset derived from a bean method like so: Result r = ResultSupport.toResult(dataBase.getAllUsers()); pageContext.setAttribute("r", r); I then loop though the records with a forEach

RE: JSTL and HashMap: How does it work?

2002-10-09 Thread Gideon, Thomas
With a Map in the tag, you need to de-reference the value explicitly in your EL in the nested , like so: stock.numberOfCharts = stock.charts = -> chart = //-^ The tag gets a Set by calling the entrySet() method of the Map, then iterates

RE: JSTL and HashMap: How does it work?

2002-10-09 Thread Gideon, Thomas
Doesn't matter, the JSTL spec says that the iteration tags should work with Maps, as well as arrays and instances of the Collection interface. Thomas Gideon Sr. Software Developer B2eMarkets 301.230.2236 Tel. 301.230.2248 Fax. [EMAIL PROTECTED] www.B2eMarkets.com > -Original Message

RE: response taglib library / jsp 1.2

2002-10-09 Thread Gideon, Thomas
Yeah, I think that should clarify to the JSP container what should be parsed as what. When you do not use the tag, any tags the container encounters are assumed to be valid XML, which your original example was not, for the exact reason stated in the error message. Thomas Gideon Sr. Software Dev

JSTL sql

2002-10-09 Thread Stefan
Hi, Is there a way to set an 'order by' in JSTL much like you would with SQL: ORDER BY birthdate DESC Thanks, Stef -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: JSTL and HashMap: How does it work?

2002-10-09 Thread Dave Newton
[EMAIL PROTECTED] wrote: >chart = > >I get > >javax.servlet.ServletException: /jsp/financialdata/show.jsp(33,40) Attribute >1M has no value > I'm way out of my area of expertise here, but I was immediately concerned about the double quotes--does chart = work? Dave -- To unsubscribe, e-mail

Re: JSTL and HashMap: How does it work?

2002-10-09 Thread Roberto Mannai
I don't know JSTL, but Hashmap does not implement Collection interface. Regards, Roberto - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 8:02 PM Subject: JSTL and HashMap: How does it work? > Hi all > > According to the documentat

JSTL and HashMap: How does it work?

2002-10-09 Thread Eric . Lewis
Hi all According to the documentation, it's possible to get data from a HashMap in JSTL. Unfortunately, it doesn't really work for me... Here's the deal: A stock has a collection of charts, thus: stock.numberOfCharts = stock.charts = -> chart = results in stock.numberOfCharts = 9

RE: response taglib library / jsp 1.2

2002-10-09 Thread Kilian, Rex
Would that mean this? [somewhere in www] -Original Message- From: Gideon, Thomas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 12:15 PM To: 'Tag Libraries Users List' Subject: RE: response taglib library / jsp 1.2

RE: response taglib library / jsp 1.2

2002-10-09 Thread Gideon, Thomas
Did you surround the tag with a tag to let the JSP container know this is template text as opposed to JSP tags? Thomas Gideon Sr. Software Developer B2eMarkets 301.230.2236 Tel. 301.230.2248 Fax. [EMAIL PROTECTED] www.B2eMarkets.com > -Original Message- > From: Thomas Delnoij [mai

Re: Euro character in c:out

2002-10-09 Thread Roberto Mannai
Probably, euro symbol is stored with an erroneous encoding in DB, or again is matter of flat file's encoding. - Original Message - From: "zze-JEANJEAN S ext FTRD/DMI/SOP" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 11:18 AM Sub

response taglib library / jsp 1.2

2002-10-09 Thread Thomas Delnoij
Dear Colleagues, I would like to use the response taglib library in jsp's written in xml syntax: http://java.sun.com/JSP/Page"; version="1.2" xmlns:res="http://jakarta.apache.org/taglibs/response-1.0"; > [somewhere in www] This leads to a compiler error: " '<

RE: Euro character in c:out

2002-10-09 Thread zze-JEANJEAN S ext FTRD/DMI/SOP
Hi all, My problem seems to be a problem with my database. If I write directly in the JSP the euro symbol, there is no problem, but if I get it from the mysql database the ? appears :( So no problem with the tag lib ! Thanks Stéphane -Message d'origine- De : Roberto Mann