Hi All,
I'm trying to develop a simple application in Struts.Just to fetch the User Id from a table and present them to a
JSP.
While querying in DAO,I do set the id's in DTO as follows.
userDTO.setUserId(rs.getString("USER_ID"));
userIdList.add(userDTO);
I'm able to get the ArrayList userIdList in Action class.From this Action class I've set the list userIdList in Form bean.
I'm stuck as to how to retrieve the values from this list in JSP and show it accordingly.
I mean the output in JSP should appear something like this
User1
User2
User3
and so on.
Any help shall be appreciated.
Please bear,I'm new to
struts.
Regards
Nikhil Bansal