Best way to pass array to bean
843836Apr 22 2005 — edited Apr 26 2005Hi,
is this form os passing an array to a bean a good way?
jsp
String[] strings = new String[]{"alpha", "Bruce Lee", "Omega"};
pageContext.setAttribute("strings", lista);
bean
private String[] strings = null;
strings = (String[]) pageContext.getAttribute("strings");
PV