Re: Ajax using XMLHttpRequest and Struts

2007-09-11 Thread Van Riper
On 9/11/07, aarthy <[EMAIL PROTECTED]> wrote: > > I am stuckup in this issue for a week.Please somebody help me on this please. > > > Frank W. Zammetti wrote: > > > > Something is wrong in your JSP... looks like that stack trace was cut off, > > but your beyond the AJAX parts at this point, you nee

Re: Ajax using XMLHttpRequest and Struts

2007-09-11 Thread Dave Newton
--- aarthy wrote: > I am stuckup in this issue for a week.Please > somebody help me on this please. <% int i = 0; ArrayList ch = (ArrayList) request.getSession().getAttribute("characters"); String[] s = new String[ch.size()]; ch.toArray(s); for (Iterator it = s.length; it.hasNext(); ) {

Re: Ajax using XMLHttpRequest and Struts

2007-09-11 Thread aarthy
t;>>> String name = (String)it.next(); >>>> i++; >>>> html += "" + name + ""; >>>> } >>>> html += ""; >>>> >>>> // Write the H

Re: Ajax using XMLHttpRequest and Struts

2007-09-11 Thread Frank W. Zammetti
> >>> } // End execute() >>> >>> >>> // This method returns a list of characters for a given TV show. If >>> no >>> TV >>> // show is selected, i.e., initial p

Re: Ajax using XMLHttpRequest and Struts

2007-09-11 Thread aarthy
Luc Picard"); >> al.add("William T. Riker"); >> al.add("Data"); >> al.add("Deanna Troi"); >> al.add("Geordi LaForge"); >> } >> >> if (tvShow.equalsIgnoreCase("Babylon5"

Re: Ajax using XMLHttpRequest and Struts

2007-09-11 Thread Frank W. Zammetti
> > if (tvShow.equalsIgnoreCase("Babylon5")) { > al.add("John Sheridan"); > al.add("Delenn"); > al.add("Londo Mollari"); > al.add("Stephen Franklin"); > al.add("Vir Cotto"); >

Ajax using XMLHttpRequest and Struts

2007-09-11 Thread aarthy
} if (tvShow.equalsIgnoreCase("StargateSG1")) { al.add("Samantha Carter"); al.add("Jack O'Neil"); al.add("Teal'c"); al.add("Daniel Jackson"); al.add("Baal"); }