Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: Re: ResultSetBuilder issue

Subject: Re: ResultSetBuilder issue

2007-10-23       - By Jason Hunter

 Back
Either your result set is empty, or it's already been iterated to
completion by the time you pass it to ResultSetBuilder.

-jh-

Jasmin_Mehta@(protected) wrote:
>
> /Ref:  Servlet Mailing List Archives. Dt.  2005-11-09 Number: 15765/
>
>
> Hi,
>
> I am using ResultSetBuilder.java. And all it displays in output xml file
> is:
>
> <?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)"?>
> <RootElement />
>
> Thru debug stmt, I could see that the result set has been populated
> before going in to while loop [
> *while* (rs.next() && (rowCount++ < maxRows)) {
>
>
> ]
>
> I put the debug stmts in below loop and it does display all the column
> names
>
> // get the column labels for this record set
> 216 _String_ <http://kickjava.com/777.htm>[] columnName = *new* _String_
> <http://kickjava.com/777.htm>[colCount];
> 217         *for* (*int* index = 0; index < colCount; index++) {
> 218           columnName[index] = rsmd.getColumnName(index+1);
>                 System.out.println(columnName[index]);
> 219         }
>
>
>
>
> in build() method. But it does not enter this loop and thus not building
> the XML file for the resultset.
>
> I did use the toString() methods as mentioned by below contanct, but
> still its giving the same result.
>
>
>
> Subject: RE: [jdom-interest] ResultSetBuilder issue
> Date: Wed, 9 Nov 2005 11:21:23 -0500
> From: "Mark Hale" <Mark@(protected)>
>
>
>
>
>
>
>
>
> Can anybody help me fixing this issue?
>
> Thanks
> Jasmin
>
> *****************************************************************************
**
> *ATTENTION ATTENTION ATTENTION ATTENTION ATTENTION
> Our domain name is changing.  Please take note of the sender's
> e-Mail address and make changes to your personal address list,
> if needed.  Both domains will continue to work, only for a limited
> time.
> ******************************************************************************
> This email and any files transmitted with it are intended solely for
> the use of the individual or agency to whom they are addressed.
> If you have received this email in error please notify the Navy
> Exchange Service Command e-mail administrator. This footnote
> also confirms that this email message has been scanned for the
> presence of computer viruses.
>
> Thank You!          
> *****************************************************************************
***
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.