select « Bean « JSP-Servlet Q&A





1. JSP Use bean select option multiple    coderanch.com

3. how to move code from jsp to bean when I am using html:select    forums.oracle.com

Bean code: package com.SurveyMaker.userManagement; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import javax.naming.InitialContext; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import com.SurveyMaker.ejb.entity.UserCredentialsEntity; import com.SurveyMaker.ejb.session.UserCredentialsBean; import com.SurveyMaker.ejb.session.UserCredentialsHandler; /** * @author Weiming * */ public class UserCredentials extends ActionForm { private int id = 0; private String firstName = ""; private String lastName = ""; private String username = ""; private String password = ""; ...