Re: html:errors/ throws exception [problem solved]

2004-03-08 Thread Max Kovalenkov
You're absolutely correct. Thank you! And thanks to as as for answering! Max Hubert Rabago wrote: If you're using 1.1, try passing ActionError objects instead of ActionMessage objects. The syntax should be the same, you'll just use a different object. Hubert --- Max Kovalenkov [EMAIL PROTECTED

html:errors/ throws exception

2004-03-05 Thread Max Kovalenkov
Hi! I have a custom validator which works fine, but when the html:errors/ tag is being executed, it throws a ClassCastException. My validator has the following line for adding to error messages: errors.add( field.getKey(), new ActionMessage(errors.dates, date1, date2)); If validation passes,

logic flow question (more or less)

2004-03-03 Thread Max Kovalenkov
Hi, New to Struts, so pretty much just learning by example for now; however I couldn't find a good example for this, hence the question: I have a jsp page that lists certain equipment requests that were fetched from a database by a servlet and are now contained in the request scope as