I have a array that needs to pass from the Action page to jsp. e.g.

Agent[] agents = getAgents();
session.setAttibute("agents", agent);


In jsp, I try to do this, but it doesn't work

<jsp:useBean id="agents" scope="session" class="[com.myApp.Agent" />

Would anybody please tell how to define the array object in jsp, thanks!

Billt Ng

Reply via email to