[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
AW: Additional characters from my gnujsp pages !!
- To: "L.M.M." <ETHERMI@terra.es>, <gnujsp@gjt.org>
- Subject: AW: Additional characters from my gnujsp pages !!
- From: "Ralph Einfeldt" <ralph.einfeldt@uptime-isc.de>
- Date: Thu, 7 Mar 2002 17:06:47 +0100
- Thread-index: AcHF70wzuiXUjJfVTLGFFLY4H1Z69wAAXTPg
- Thread-topic: Additional characters from my gnujsp pages !!
You have to be carefull what you have between scriplets and jsp tags.
Example:
With
<% "1" %>
<% "2" %>
You will get:
1
2
if you want to avoid this line feed
you have to use something like:
<%
"1"
%><%
"2"
%>
and get:
12
the same is true for all tags.
So the jsps look like this:
<jsp:useBean ...
/><%!
Declare something
%><%
Do Something
%>Some Output<%=
Print out something.
%>More Output
> -----Ursprüngliche Nachricht-----
> Von: L.M.M. [mailto:ETHERMI@terra.es]
> Gesendet: Donnerstag, 7. März 2002 16:44
> An: gnujsp@gjt.org
> Betreff: Additional characters from my gnujsp pages !!
<snip/>
> When my jsp pages become text/html there are additional characters
> at the beginning and the end of the same ones.
> These additional characters that I can observe in the Browser (the
> client)
> are carriage return and other blanks that lack importance in
> text html, but that they are important in another text type.
> If what I want is to return to the client text/plain or
> text/myownformat
<snip/>