I just wanted to know how to achieve it using Struts. Any clue? -Ram
-----Original Message----- From: Ramadoss Chinnakuzhandai Sent: Tuesday, October 21, 2003 1:54 PM To: Struts Users Mailing List Subject: Access control in Struts Hi, I'm new to struts,I need to load some jsp pages based on different level of access control who are accessing the site. for eg for userA I need to show some pages while userB can only view/access few pages. Thanks in advance, -Ram -----Original Message----- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:48 PM To: Struts Users Mailing List Subject: Re: DynaForms and java.util.ArrayList" Tim, Thanks. The error is gone. Should have realized I couldn't initialize array with initial="". Barry ----- Original Message ----- From: "Chen, Gin" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 10:42 AM Subject: RE: DynaForms and java.util.ArrayList" > Remove initial="" > Then in your jsp do: > <c:forEach var="blah" items="${myFormBean.map.city}"> > <c:out value="${blah}"/> > </c:forEach> > -Tim > > -----Original Message----- > From: Barry Volpe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 21, 2003 1:14 PM > To: Struts Users Mailing List > Subject: DynaForms and java.util.ArrayList" > > > > When I define this in my struts-config: > > <form-property > name="city" > type="java.util.ArrayList" > initial=""/> > > I get this error: > > [ServletException in:/tiles/locationselection.jsp] > Exception creating bean of class > org.apache.struts.validator.DynaValidatorForm: {1}' > > Can I access "city" using JSTL in my jsp. > > What should I put in my JSP. > > What am I missing? > > Thanks, > Barry > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]