> Is there a way to make JSP stop adding new lines or spaces?
It looks goofy, but I've used the following approach to get rid of newlines
in generated JSP output. Make sure that newlines in your code are inside <%
%> code tags, and they will not end up in the output. For example, these
lines:
<%@ taglib uri="/orataglib" prefix="ora" %>
<%@ taglib uri="/emistaglib" prefix="emis" %>
<%@ page import="com.ora.jsp.util.*" %>
Become this:
...
%><%@ taglib uri="/orataglib" prefix="ora" %><%
%><%@ taglib uri="/emistaglib" prefix="emis" %><%
%><%@ page import="com.ora.jsp.util.*" %><%
...
BTW, I'm using Java Webserver as my JSP engine.
Good luck,
Jeff
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets