Mighty Strange:

Indicating a cr/lf by ~~, your data is terminated at position 237.  This is
close enough to 255 to make one suspicious:

000 <tr>~~<td
010 width="25%
020 "><small><
030 small><str
040 ong>Action
050  Request C
060 ode:</stro
070 ng></small
080 ></small><
090 /td>~~<td
100 width="25%
110 "><small><
120 small>SALE
130 SPERSON-TO
140 -ADVISE</s
150 mall></sma
160 ll></td>~~
170 <td width=
180 "25%"><sma
190 ll><small>
200 <strong>Cr
210 edit Amt R
220 equested:<
230 /strong></
240 small></sm
250 all></td>~
260 ~

Are you sure that you have:

   ServletOutputStream out = res.getOutputStream();
   res.setContentType("text/html");

before any out.println statements?



----- Original Message -----
From: Jeetandra Mahtani <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 23, 1999 2:31 PM
Subject: Re: out.println problem


| Dave,
| Thanks for replying. I hope you can help me.
| I am using WebSphere and IIS.
| The code is:
| out.println("<tr>");
| out.println("<td
| width=\"25%\"><small><small><strong>Action Request
| Code:</strong></small></small></td>");
| out.println("<td width=\"25%\"><small><small>" +
| rsactn.getString(3) + "</small></small></td>");
| out.println("<td
| width=\"25%\"><small><small><strong>Credit Amt
| Requested:</strong></small></small></td>");
| out.println("<td width=\"25%\"><small><small>" +
| c1cram + "</small></small></td>");
| out.println("</tr>");
| out.println("<tr>");
|
| The code from the browser is:
| It is stopping at </strong> and that is it..
| <tr>
| <td width="25%"><small><small><strong>Action Request
| Code:</strong></small></small></td>
| <td width="25%"><small><small>SALESPERSON-TO-ADVISE
|  </small></small></td>
| <td width="25%"><small><small><strong>Credit Amt
| Requested:</strong>
| ---
| If I comment out this code, it is having the same
| problem with the next segment of the code. Doesn't
| look like a problem with the code but more with the
| length of the output.
| Any ideas?
|
| ---Dave Muehling <[EMAIL PROTECTED]> wrote:
| >
| > Can u tell me what server you are using and maybe
| incluce the line that is
| > erroring and the 3 lines before it and after it.  I
| have had problems like
| > that before but i can't remember exactly what the
| cause was so seeing the
| > code may refresh my memory.
| >
| > Dave
| >
| > -----Original Message-----
| > From: Jeetandra Mahtani <[EMAIL PROTECTED]>
| > To: [EMAIL PROTECTED]
| <[EMAIL PROTECTED]>
| > Date: Friday, April 23, 1999 3:13 PM
| > Subject: out.println problem
| >
| >
| > >Hello,
| > >This might be a really crazy scenario, I've been
| > >braking my head over it for the last two hours.
| > >I have about 50 out.println statements in a servlet.
| > >Now, 30 of the println statements work fine and I
| can
| > >see my html. On the 31st println statement, only
| part
| > >of it is seen, like
| > ><td width="25%"><small><small><stro
| > >And that is it, the remaining 18 lines are not seen
| > >at all.
| > >I am definitely missing something over here.
| > >Any ideas?
| > >Thanks,
| > >J

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to