Re: ANT Build: package javax.servlet does not exist

2004-04-05 Thread Matt Sgarlata
Hi Rick, You need to make sure that servlet.jar is in your classpath for Ant. This is done in your build.xml file. For my project, I have my classpath pull everything in my webapp's WEB-INF/lib directory and then I put other jars that are included in my application server (i.e. - Tomcat) in

Iterate over ActionErrors

2004-04-05 Thread Matt Sgarlata
Does anyone know the recommended way to iterate over all the errors automatically generated by the Validator? I am familiar with the tag, but I can't figure out what tag(s) should be used if I want to manually iterate over each of the errors and build my own custom error message. Sorry for the ba

Re: Iterate over ActionErrors

2004-04-05 Thread Matt Sgarlata
Thanks all, that worked :) Matt Kumar M wrote: Sorry about thatyou are right. Also, by default the tag goes after the Globals.ERROR_KEY (message="false"). [EMAIL PROTECTED] wrote: Kumar, isn't it meant to be message="false"? true=Globals.MESSAGE_KEY false=Globals.ERROR_KEY On 04/05/200

Re: [OT] Clustering Application Scope Objects

2004-04-10 Thread Matt Sgarlata
Hi Mike, Your JMS approach sounds fairly sophisticated; could take a while to implement ;-) Hibernate provides some out-of-the-box cacheing implementations, some of which take on this problem. I think you'll find this portion of their user guide fairly relevant: http://www.hibernate.org/hib_

[OT] Compression Filter

2004-04-13 Thread Matt Sgarlata
Hello everyone, I'm trying to set up a compression filter based on the filter available here: http://www.jspbook.com/code.jsp. It runs fine on Tomcat. It runs fine on Oracle 9iAS for static content and JSPs, but does not work for Struts actions. For Struts actions, the actual ZIP content is