Just to let you guys know. I had a seach for tomcat filters and woot! there they are. I can code a filter class, attach it to tomcat and away I go. ;-)
thanks to all Derek. On Friday 05 December 2003 15:51, Derek Clarkson wrote: > Hmmm, I don't know if this would work. From what I can see, most of the > white space is left over from tomcat/struts removing the tags during > processing. The problem seems to be that the servers are not recognising > that in their processing they have effectively removed all text from those > parts of the documents and in response, then removing the lines. > > As per one of the other replys, I think some sort of filter that sits post > JSP and filters the output. I'm just not sure if this is easy to do. > > cio > Derek. > > On Friday 05 December 2003 11:42, [EMAIL PROTECTED] wrote: > > I would rather use the Ant ReplaceRegexp task to remove unwanted > > whitespaces. In the ant build process, you process the JSP source with > > the ReplaceRegexp task, then put them into war file, deploy it to the > > container. You have full control over the way of chompping whitespaces by > > programming the regexp pattern as you like. See > > http://ant.apache.org/manual/OptionalTasks/replaceregexp.html > > > > -- > > Regards, > > MATSUHASHI,kazuaki > > Japan > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] -- Regards, Derek Clarkson Analyst/Programmer Waterwerks Pty Ltd Melbourne Australia --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]