Why don't you try doing some work of your own and narrowing down the problem
first, instead of just blasting your JSP code at the list? Not many of the
4500 or so people on this list will plough through almost 100 lines of JSP
code just to read what your problem is, let alone take the time to
understand all that code and solve your problem. Some focus would help us
all...

----- Original Message -----
From: "asitha ranjan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 3:17 AM
Subject: Hel p me


> Hi all
>
> <%
>                 catchItems = cart.getItems(); // calling getitsm
> which is defined in the bean &
>                 //agin holding in another vector
>
>                 iRows = catchItems.size(); //cheking the size of the
> vector
>
>                 int i;
>
>             System.out.println("Showing items in vector"
> +iRows); //showing  items in the vector
>             System.out.println(" the capacity is "
> +catchItems.capacity());
>
> // For Loop Started to featch from the vector
>
>         for(i=0;i<iRows;i++)
>                 {
>                                 System.out.println("the value  is here
0");
>
> // taking that vector of vectors values type cast
> again vector & holding in enumaration
>
>                  vEnum =
> ((Vector)catchItems.elementAt(i)).elements();
>
>                                 System.out.println("the values  is here
1");
>
>        try{
>                         // start of while looop
>
>                         while(vEnum.hasMoreElements())
>                         {
>
>                 // heare i want the values to get from enumartion
> taking each { Note: Single} value in string or int
>                 // puting or formation in down td or tr
>
>                                         System.out.println(" how do u
do");
>                 // if u add quantity order 4 times all the values
> with qa in eachn row one by one  should display 4
> times
>
>
> s_firstvalue=(String)vEnum.nextElement().toString();
>
>                                         out.println(s_firstvalue); // just
to
> check,outputing
>
>
//out.println(items[0]);
>
> %>
> </BIG></SMALL></SMALL></TD>
>     <TD align=left bgColor=#ffff97
>       vAlign=center><SMALL><SMALL><BIG>&nbsp;
> <%
>
> it's gving error here
>         s_secondvalue
> =(String)vEnum.nextElement().toString();
>
> what do to retrive sinle value from enumaration
>
> so that i ca display where ever i want
>
>         //System.out.println(" U stupid doit propp" +
> s_secondvalue);
>
>         //out.println(items[1]);
> %>
> thanx
>
> ranjan
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to