Re: Making a Database Image Show Up on a Jsp Page

2005-08-26 Thread Philip Cote
Thank you, Wade and everyone else. ServletOutputStream worked perfectly. Wade Chandler wrote: --- Edmund Urbani [EMAIL PROTECTED] wrote: Philip Cote wrote: I'm trying to write to binary data from a MySQL database into a jpeg file so I can show it on a jsp page

Re: Making a Database Image Show Up on a Jsp Page

2005-08-26 Thread Philip Cote
Caldarale, Charles R wrote: From: Philip Cote [mailto:[EMAIL PROTECTED] Subject: Re: Making a Database Image Show Up on a Jsp Page My only sticking point is how I'm supposed to write that binary data to the jpeg file. I think the point people are trying to make is that you don't

Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Philip Cote
I'm trying to write to binary data from a MySQL database into a jpeg file so I can show it on a jsp page but I'm not having much luck. My bean can create files outside the servlet / jsp context using the usual java.io classes. As I understand it, java.io classes aren't allowed for EJBs.

Re: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Philip Cote
Edmund Urbani wrote: Philip Cote wrote: I'm trying to write to binary data from a MySQL database into a jpeg file so I can show it on a jsp page but I'm not having much luck. My bean can create files outside the servlet / jsp context using the usual java.io classes. As I understand

Re: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-07 Thread Philip Cote
Good for you! Glad it all worked out. On Mon, 2005-08-08 at 02:25 +0100, Martin Wood wrote: Just to let people know that my application has been running happily for nearly a week now. I actually replaced the JDK1.5 with the blackdown 1.4.2 and installed the compatibility extensions for

Re: close pooled conection-by value or by reference

2005-07-23 Thread Philip Cote
connection.isClosed() should return a boolean telling you whether or not the connection was released. On Sat, 2005-07-23 at 14:18 -0700, Tony Smith wrote: I think this is a classic java question: Pass by reference or by value. I have a DatabaseManager class which takes care of get conection

Re: Tomcat Architecture

2005-06-24 Thread Philip Cote
It helps to think of the relationship in a sort of box-inside-a-box relationship. For example, the Server(Tomcat) contains the Service. The Service contains the Engine(eg. Catalina). The Engine contains the hosts (eg www.somedomain.com) Within the different hosts is the Context. Each context

Setting up the Admin Tool

2005-05-14 Thread Philip Cote
I'm having a hard time getting the admin tool up and running on Tomcat 5.5.7 on Fedora Core Linux. When I try to link to it from the localhost root page, I get a messge telling me I need to install the admin package. Very well. I go off to download the admin tool and use file roller to unzip