RE: Please Help: Any tomcat/3rd party class that can do this?

2002-10-23 Thread KEVIN.THOMAS.8893930.SWAN
fuck off message

wales ar best football

On Tue, 22 Oct 2002 14:03:48 -0700 "Carson, Chuck" <[EMAIL PROTECTED]> wrote:

--- Begin Message ---

Cool, thanks. This was exactly what I was looking for.

Thx,
Chuck

-Original Message-
From: Julius Davies [mailto:juliusdavies@;cucbc.com] 
Sent: Tuesday, October 22, 2002 9:57 AM
To: Tomcat Users List
Cc: Carson, Chuck
Subject: RE: Please Help: Any tomcat/3rd party class that can do this?



Chuck Carson,

Try:

http://www.google.com/search?q=printf+for+java


Sorry if that's glib.  :-)

Anyway, looks like it's $20 USD to compile with sharkysoft's "printf for
java" jar file - might save you a few hours.


yours,

Julius
Vancouver, Canada


> -Original Message-
> From: Carson, Chuck [mailto:Chuck.Carson@;syrrx.com]
> Sent: Monday, October 21, 2002 4:10 PM
> To: Tomcat Users List
> 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>


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


Re: Please Help: Any tomcat/3rd party class that can do this?

2002-10-22 Thread Will Hartung
From: "Carson, Chuck" <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 2:03 PM


> 
> Cool, thanks. This was exactly what I was looking for.
> 
> Thx,
> Chuck
> 
> http://www.google.com/search?q=printf+for+java


Have you tried looking at something like Jasper Reports?

It's one thing to want printf, it's quite another to want a report writer.

http://jasperreports.sourceforge.net/index.html

Regards,

Will Hartung
([EMAIL PROTECTED])




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Please Help: Any tomcat/3rd party class that can do this?

2002-10-22 Thread Carson, Chuck

Cool, thanks. This was exactly what I was looking for.

Thx,
Chuck

-Original Message-
From: Julius Davies [mailto:juliusdavies@;cucbc.com] 
Sent: Tuesday, October 22, 2002 9:57 AM
To: Tomcat Users List
Cc: Carson, Chuck
Subject: RE: Please Help: Any tomcat/3rd party class that can do this?



Chuck Carson,

Try:

http://www.google.com/search?q=printf+for+java


Sorry if that's glib.  :-)

Anyway, looks like it's $20 USD to compile with sharkysoft's "printf for
java" jar file - might save you a few hours.


yours,

Julius
Vancouver, Canada


> -Original Message-
> From: Carson, Chuck [mailto:Chuck.Carson@;syrrx.com]
> Sent: Monday, October 21, 2002 4:10 PM
> To: Tomcat Users List
> 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>




RE: Please Help: Any tomcat/3rd party class that can do this?

2002-10-22 Thread Julius Davies

Chuck Carson,

Try:

http://www.google.com/search?q=printf+for+java


Sorry if that's glib.  :-)

Anyway, looks like it's $20 USD to compile with sharkysoft's "printf for java" jar 
file - might save you a few hours.


yours,

Julius
Vancouver, Canada


> -Original Message-
> From: Carson, Chuck [mailto:Chuck.Carson@;syrrx.com]
> Sent: Monday, October 21, 2002 4:10 PM
> To: Tomcat Users List
> 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>




Re: Please Help: Any tomcat/3rd party class that can do this?

2002-10-22 Thread Jacob Kjome

Check out conversion patterns in pattern layout.

Here is a sample from my log4j config file:





You can define any layout you want using the PatternLayout.

http://jakarta.apache.org/log4j/

Jake

At 04:10 PM 10/21/2002 -0700, you wrote:

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:   
For additional commands, e-mail: 



Re: Please Help: Any tomcat/3rd party class that can do this?

2002-10-21 Thread Nicholas Pappas
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  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>




Re: Please Help: Any tomcat/3rd party class that can do this?

2002-10-21 Thread Kwok Peng Tuck
Maybe you would want to look at Jasper Reports? From what I read there, 
it's meant to do reports. Perhaps it is what you are after?

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  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>


 




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




Re: Please Help: Any tomcat/3rd party class that can do this?

2002-10-21 Thread Josh G
Well tomcat serves html... If you're after a Free j2ee server you want
jboss.

-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 11:52 AM
Subject: RE: Please Help: Any tomcat/3rd party class that can do this?


>
> 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  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>
>


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




RE: Please Help: Any tomcat/3rd party class that can do this?

2002-10-21 Thread Carson, Chuck

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  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>




Re: Please Help: Any tomcat/3rd party class that can do this?

2002-10-21 Thread Josh G
you're looking for the  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>




Please Help: Any tomcat/3rd party class that can do this?

2002-10-21 Thread Carson, Chuck

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:   
For additional commands, e-mail: