Rich: I am sorry, I didn't make clear. Because I want him ( [EMAIL PROTECTED]) to ask me "How". You are right. Thank you.
Albert Pi Corp IS System Delivery 516-803-3762 >>> [EMAIL PROTECTED] 09/24/02 02:23PM >>> Albert, You can't return more than one object from a Java function. In order to return two CachedRowSet objects, you can do one of the following: 1) Return an Array or Vector of CachedRowSet objects. 2) Create another object that has two CachedRowSet objects as member variables and return an instance of that object. Regards, Richard At 01:23 PM 9/24/2002 -0400, you wrote: >I used more than two CachedRowSet without problem. > >Can you give more details about this ? > >Albert Pi >Corp IS System Delivery >516-803-3762 > > > >>> [EMAIL PROTECTED] 09/24/02 09:40AM >>> >In the remote method declaration, I'm creating to CachedRowSet object and >I'm using > >return crset1; >return crset2; > >to send them to the client, but I receive following error message during >the compilation; > >ReisImpl.java:63:unreachable statement > return crset2; > ^ >1 error > >How can I return two CachedRowSet object to the servlet? > >___________________________________________________________________________ >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff SERVLET-INTEREST". > >Archives: http://archives.java.sun.com/archives/servlet-interest.html >Resources: http://java.sun.com/products/servlet/external-resources.html >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html