this is inside my servlet:

ArrayList<String> currentCustomer = model.getAllCustomers();
req.setAttribute("currentCustomer", currentCustomer );

how do i access this arraylist in my JSP file? I eventually wanna loop over each string element.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.