2012/9/30 Steve Higham :
>> Does anyone know a sensible way of pretty printing the Struts HTML
>> output to the browser?
Which version of S2 ? Sometime ago all the tags' templates were
updated with FreeMarker trimming functionality, but if you have
problem with that please report an issue with JIR
blems.
Is there a better way of tidying up the HTML being emitted from a Struts
View?
Kind Regards,
Steve
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: 30 September 2012 18:05
To: Struts Users Mailing List
Subject: Re: How to pretty print HTML from Struts
Ug
Ugh. IMO relying on textual representation of a DOM is fragile and broken,
especially if you're unable to ignore whitespace-is there a reason you're
doing it like this?
Dave
(pardon brevity, typos, and top-quoting; on cell)
On Sep 30, 2012 12:22 PM, "Steve Higham" wrote:
> My Struts Views are m
My Struts Views are made up of JSP and Tiles and the resulting HTML is
untidy to say the least. This causes problems when I try to compare it with
HTML mock-ups. To solve this I'm trying to use the JTidy library to pretty
print the HTML output to the browser.
I'm using the JTidyFilter configure
4 matches
Mail list logo