Posted By:
dicha_manmoandas
Posted On:
Tuesday, April 4, 2006 07:47 AM
i have jsp form in which bean takes values from database..Know i have to add check box or multibox in side logic iterator.my code works but the problem is i am not able to catck the value inside the check box,if it is checked or not.. eg of code <%int a=0;%> <%-- property="checkId" /> --%> know in action form how can i get the values of multibox? public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { Locale locale = getLocale(request); MessageResources messages = getResources(request); HttpSession session = request.getSessi
More>>
i have jsp form in which bean takes values from database..Know i have to add check box or multibox in side logic iterator.my code works but the problem is i am not able to catck the value inside the check box,if it is checked or not..
eg of code
<%int a=0;%>
<%--
property="checkId" /> --%>
know in action form how can i get the values of multibox?
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest
request, HttpServletResponse response) throws Exception {
Locale locale = getLocale(request);
MessageResources messages = getResources(request);
HttpSession session = request.getSession();
Vector err = new Vector();
ActionErrors errors = new ActionErrors();
String action = request.getParameter("action");
PromoExtraTranfDlpAccaoForm g1 = (PromoExtraTranfDlpAccaoForm)form;
System.out.println("rregistoo"+g1.getRegistoCCB());
}
plz give me some tips to work with multibox..