"Schmidt, Allen J." wrote:
>
> I may be hitting a very narrow audience with this, but I am pulling in
> screenfuls of data from a mainframe 3270 screen with a 3rd-party vendor
> class. It reads a block of the screen (15rows x 80columns) and parses it
> into Vector elements - should be 15 total. The method is called from the
> servlet which is called by a form which passes in 4 parameters. The result
> of the servlet is an html page which displays a list of up to 15 college
> classes. (There is usually more than one 3270 screen of data but I have not
> figured out how to get the next ones, yet.)
>
> Each element has the full 80 characters of each row properly spaced, but
> when I wrap <PRE></PRE> tags around the elements (in any order,) some of the
> character sets within the element are bunched together on the web display.
> The viewed source shows the correct spacing.
>
> The placement of the PRE tags did eliminate the extra line, but not the
> 'crunching' of characters.

Could it be that the rows are "properly spaced" using tab characters?
I'm not sure but I don't think <PRE></PRE> preserves tabs, only spaces
and line breaks.

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

___________________________________________________________________________
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