Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: problem in accessing arraylist elemnts in javascript

  1. #1
    Junior Member
    Join Date
    Jan 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default problem in accessing arraylist elemnts in javascript

    I am passing a arraylist from jsp to javascript.
    How to access the elements of arraylist in javascript

    jsp code:
    <%out.print(arraylist)%>

    javascript

    var http = createRequestObject();
    var reponse=http.responseText


  2. #2
    Junior Member
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: problem in accessing arraylist elemnts in javascript

    here is a link that may give you an idea, and it was beautifully resolved..

    java - retrieve value of arraylist in javascript in same page - Stack Overflow

Similar Threads

  1. accessing class method problem
    By steel55677 in forum Object Oriented Programming
    Replies: 11
    Last Post: February 23rd, 2012, 08:50 PM
  2. Problem with my JavaScript or JSP?
    By sam2730 in forum Other Programming Languages
    Replies: 1
    Last Post: September 8th, 2011, 02:46 AM
  3. [SOLVED] Accessing methods of an object inside in ArrayList
    By jmack in forum Java Theory & Questions
    Replies: 3
    Last Post: January 22nd, 2011, 12:28 PM
  4. javascript problem
    By kundan_101 in forum Member Introductions
    Replies: 2
    Last Post: December 30th, 2010, 09:02 AM
  5. accessing elements in a 2d ArrayList
    By Flamespewer in forum Collections and Generics
    Replies: 2
    Last Post: March 8th, 2010, 06:11 PM