Re: Validation Problem - very urgent please reply

2006-01-10 Thread Raghu Kanchustambham
The trick is to point the "input" variable in your struts-config.xml to the action class that "generated" the JSP page rather than the JSP page itself. On failure of validation, you should redirect it to the "preparation" action class for the form that solicits information for you - the action

Re: Validation Problem - very urgent please reply

2006-01-10 Thread Vishal Gaurav
Hi, I feel that the approach given by Peter would be fine. You might be populating the drop down by iterating a collection fetched from Database. When you submit the form only the selected value is submitted from the drop down not the entire collection (That is why you do not get the collection b

RE: Validation Problem - very urgent please reply

2006-01-10 Thread Meenakshi Singh
Hi, I would suggest that manually call validate and use Request Scope Not many people seem to be using this approach, yet I have found it to be the best overall solution. This is how it works: First of all make sure you do not have validate=”true” set in your action mapping.You should call form.v

RE: Validation Problem - very urgent please reply

2006-01-10 Thread Peter . Zoche
I had the same problem, and besides setting the form to session scope you could do the following: Instead of storing your list of languages in an ArrayList, store them in an array of Strings. Then on your jsp you should be able to iterate over this list and sent all languages via the html:hidden ta