<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%=new Date() %>
<%
ArrayList al = new ArrayList();
al.add("C");
al.add("A");
al.add("E");
al.add("B");
al.add("D");
al.add("F");
%>
<select>
<option value="<%=al%>"></option>
</select>
</body>
</html>
Questo è il mio codice voglio aggiungere Arraylist in discesa in JSP Non so come associare arraylist in html obtion o discesa per favore mi aiuti ho provato molto, ma in grado di fare Questo .come aggiungere arraylist in JSP
Cerca di non utilizzare scriptlet in JSP. –