martindavey
Programmer
I have an action forward that returns a page called ac05.jsp
The HTML gets reformatted before it reaches the browser.
If I request the page directly it's fine, but when Struts returns it, it gets reformatted.
How do I prevent Struts screwing around with my HTML?
FYI.
It isn't formatting it to XHTML standards - it doesn't use quotes on the tag attributes.
E.g. The following html:-
<h1>Hello </h1><span class="myClass">There</span>
Comes back as:-
<H1>Hello </H1><SPAN CLASS=myClass>There</SPAN>
There are other examples that are really screwed up and so I need to stop it reformatting it.
The HTML gets reformatted before it reaches the browser.
If I request the page directly it's fine, but when Struts returns it, it gets reformatted.
How do I prevent Struts screwing around with my HTML?
FYI.
It isn't formatting it to XHTML standards - it doesn't use quotes on the tag attributes.
E.g. The following html:-
<h1>Hello </h1><span class="myClass">There</span>
Comes back as:-
<H1>Hello </H1><SPAN CLASS=myClass>There</SPAN>
There are other examples that are really screwed up and so I need to stop it reformatting it.