Try to be civil or you will not receive any help on this list.
As Panagiotis Konstantinidis pointed out, you probably need to treet the
return of the sql taglib as a string. Try
StringTokenizer st = new StringTokenizer("<sql:getColumn position="6"/>");
The nested quotes should be OK in this instance because they are handled by
separate processors, but if it complains try:
StringTokenizer st = new StringTokenizer("<sql:getColumn position=\"6\"/>");
Please include the exceptions or a complete description of what you are
seeing, just saying "It doesn't work" doesn't help locate the problem.
(*Chris*)
----- Original Message -----
From: "sufi malak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 9:47 AM
Subject: Re: [JSP-INTEREST] StringTokenizer(<sql:getColumn position="6"/>);
?????????
> it looks like you did not understand my code, try to read it first,
because
> when I replce :
> StringTokenizer st = new StringTokenizer(<sql:getColumn position="6"/>);
>
> StringTokenizer st = new StringTokenizer("This is a string");
> It works, but when using the string comming from sql:getColumn
> position="6"/>); it does not.
>
> Any help will be appreciated.
> Thanks
>
>
>
>
> >From: Chris Pratt <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> >reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: StringTokenizer(<sql:getColumn position="6"/>); ???
> >Date: Mon, 22 Oct 2001 09:38:21 -0700
> >
> >It's code to create a StringTokenizer that will tokenize the value
returned
> >from column 6 of an sql query by looking for spaces, tabs, new lines,
> >carriage returns or form feeds. It looks right to me, how is it working?
> > (*Chris*)
> >
> >----- Original Message -----
> >From: "sufi malak" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Monday, October 22, 2001 7:50 AM
> >Subject: [JSP-INTEREST] StringTokenizer(<sql:getColumn position="6"/>);
???
> >
> >
> > > Could you please tell me wht this :
> > > StringTokenizer(<sql:getColumn position="6"/>);
> > > is wrong ?
> > > Thanks
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> >http://explorer.msn.com/intl.asp
> > >
> > >
>
>===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > > http://archives.java.sun.com/jsp-interest.html
> > > http://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > > http://www.jguru.com/faq/index.jsp
> > > http://www.jspinsider.com
> >
> >
> >_________________________________________________________
> >Do You Yahoo!?
> >Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
>
>===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >DIGEST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://archives.java.sun.com/jsp-interest.html
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > http://www.jguru.com/faq/index.jsp
> > http://www.jspinsider.com
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com