Hi I have a jsp which has a dropdown box, in my dispatch Action class i populate a ArrayList and store in request and pass it to my jsp, the user then selects one value from this dropdown and hits enter, In my action class i call the business logic class, which tries to insert this value in database, If this value exist i get an SQL error, then i have to display this SQL error on the jsp and also the dropdown box, but when i get back to my jsp the dropdown box is empty, i.e. the arraylist is empty. How do i retain this arraylist in my Action class?? In my action class i have the following code,. if there is no error i remove the bean from request scope if(noError) { if (mapping.getAttribute() != null) { if ("request".equals(mapping.getScope())) { request.removeAttribute(mapping.getAttribute()); } else { request.getSession().removeAttribute(mapping.getAttribute()); } } return mapping.findForward(MapsConstants.SUCCESS); }
===== A$HI$H __________________________________ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]