This doesn't sound like a Tomcat issue-- why not check the String class or
something similar in Java-- you're writing your servlet in java, Tomcat is
serving it.

"Carson, Chuck" wrote:

> No, this is not necessarily html output.
>
> -Chuck
>
> -----Original Message-----
> From: Josh G [mailto:josh@;gfunk007.com]
> Sent: Monday, October 21, 2002 4:27 PM
> To: Tomcat Users List
> Subject: Re: Please Help: Any tomcat/3rd party class that can do this?
>
> you're looking for the <table> tag in html
>
> -Josh
>
> Who can it be knocking at my door?
> Go away, don't come round here no more.
> Can't you see that it's late at night?
> I'm very tired, and I'm not feeling right.
> ----- Original Message -----
> From: "Carson, Chuck" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, October 22, 2002 9:10 AM
> Subject: Please Help: Any tomcat/3rd party class that can do this?
>
> >
> > Sorry if this is newbie but I am somewhat new to Java. I have poured
> > thru several books and cannot find anything that does what I want.
> >
> > I have to generate reports with multiple columns of variable width. I
> > need a java class to format these. In C, I would do this: printf("%10s
>
> > %10s %-10s", string1, string2, string3);
> >
> > This would effectively create three columns 10 characters wide and
> > right justify the last column. I am sure I could 'jerry rig' this
> > behavior but this is part of an application that will get heavy usage
> > and I would prefer a clean, robust approach. (Note: This is a very
> > scaled down example, the actual reporting is much more complex)
> >
> > Does tomcat come with a utility to do this? (or does anyone know of
> > any public domain classes out there)
> >
> > Much thanks,
> > Chuck
> >
> >
> > ----------
> > This message contains confidential information and is intended only
> > for the individual named. If you are not the named addressee you
> > should not disseminate, distribute or copy this e-mail. Please notify
> > the sender immediately by e-mail if you have received this e-mail by
> > mistake and delete this e-mail from your system. E-mail transmission
> > cannot be guaranteed to be secure or error-free as information could
> > be intercepted, corrupted, lost, destroyed, arrive late or incomplete,
>
> > or contain viruses. The sender therefore does not accept liability for
>
> > any errors or omissions in the contents of this message, which arise
> > as a result of e-mail transmission. If verification is required please
>
> > request a hard-copy version.
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>
> ----------
> This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. E-mail transmission cannot be
> guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses. The sender therefore does not accept liability for any
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission. If verification is required please
> request a hard-copy version.
>
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

--
Nicholas Pappas



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to