How to pass an arraylist from servlet to jsp?

How to pass an arraylist from servlet to jsp?

Hello,

Can anyone please tell me how to pass an arraylist from servlet to jsp? I have two arraylist one of type String and the other int. How to send both the arraylists from servlet to jsp?

Thanks in advance!

View Answers

August 5, 2011 at 1:17 PM

Please go through the following link:

http://www.roseindia.net/jsp/servlet-jsp-data-list.shtml









Related Tutorials/Questions & Answers:
How to pass an arraylist from servlet to jsp?
how to pass arraylist data from one jsp to another jsp - JSP-Servlet
Advertisements
How to pass multiple values from a servlet to JSP?
how can we pass parameters from jsp href to another servlet
ArrayList from JSP to Servlet - JSP-Servlet
how to pass the mutiple values from <Ui:datagrid hyperlink - JSP-Servlet
how to pass the mutiple values from <Ui:datagrid hyperlink - JSP-Servlet
Pass parameters from JSP to Servlet
How to pass parametes from JSP page to HTML page? - JSP-Servlet
how to pass an array from one jsp to another jsp - JSP-Servlet
how to add Arraylist filter for a jsp page showing results from a servlet
Pass a dom object from jsp to servlet
how to pass variable from simple java main class(not servlet) to the jsp page?
JSP1
JSP2
Protect JSPs from direct access
How to pass value from dijit.Tree to dijit.MenuItem - Ajax
How to pass the value from controller to jsp page ?
How to pass query as parameter? - JSP-Servlet
how to pass a string from one class to another
How can i pass the valus from a JSP to the action class???
ModuleNotFoundError: No module named 'jspp'
ModuleNotFoundError: No module named 'JSPy'
servlet n jsps - Java Beginners
How to Pass data from jTextField1 in jFrame1 to jLabel1 in jFrame2
How to pass Array of string from action class to jsp page
how to fetch data from servlet ????
how to create own tld and use it in jspx file
how to create own tld and use it in jspx file
how to pass values from 2nd page tp 3rd page....
How to pass variable from one class to another in java
Printing ArrayList - JSP-Servlet
how to pass input from radio button to jsp page
how to pass input from radio button to jsp page
how to pass input from radio button to jsp page
How to update table column from the values of Arraylist in java
How Can I get ArrayList of Data from jsp with ajax request
How To Pass data from one GUI to another in java swing
how to pass form values from javascript of html page to jsp page
arraylist with session - JSP-Servlet
arraylist problem - JSP-Servlet
Arraylist from row values
Remove duplicates from ArrayList
arraylist problem - JSP-Servlet
how to generate a bar chart on a JSP PAGE using the arraylist object passed form the servlet.(using jfreechart)
ArrayList problem - JSP-Servlet
How to pass and catch HTML parameters to a Java program using REST services?(without using servlet/jsp)
Calling servlet from servlet .
How to retrieve image from database in Servlet?
How to carry multiple values from a Servlet to a JSP?

Ads