Hey all

I am trying to output a RSS feed via a JSP page in S2. The problem is that I
keep on getting a blank row/new line before the actual XML data is written
to the page. The error message is "XML Parsing Error: xml declaration not at
start of external entity" because of this .

Here's the JSP code
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/xml; charset=UTF-8" %>
<%out.clear();%> <!--  Removes only one of the new lines -->
<s:property value="userMoviesFeed" escape="false"/>

Where is this blank line coming from?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/-S2-XML-output-problem-tf3697293.html#a10339053
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to