I have an ActionClass and a JSP page.
What I want to do is just have a drop-down showing some values. Nothing complcated.
I created ArrayList in Action and put it to a request object as follows
ArrayList list = new ArrayList();
list.add("1");
list.add("2");
request.setAttribute("exsList", list);
And in JSP I have following:
<bean:define id="aList" name = "exsList" />
I just want to display these numbers in drop-down.
What should I do next.
Thank you
What I want to do is just have a drop-down showing some values. Nothing complcated.
I created ArrayList in Action and put it to a request object as follows
ArrayList list = new ArrayList();
list.add("1");
list.add("2");
request.setAttribute("exsList", list);
And in JSP I have following:
<bean:define id="aList" name = "exsList" />
I just want to display these numbers in drop-down.
What should I do next.
Thank you