OT: Formatting web pages for printing.

2002-07-17 Thread Paul Kofon
Hi all, I'm building a web app for my company that will help us create quotes. The quotes are stored as XML files and get translated/displayed in a frame with XSLT. Problem is when printing the quotes, there's no way to specify what the margins should be. I've tried setting the attributes of

RE: Strange: Tomcat4.0.4 can't find apps!!!

2002-06-20 Thread Paul Kofon
, the manager was not working, when i checked the logs there was some configuration in jdbc realm, due to which it was giving error. hence the manager was not working. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Paul Kofon [mailto:[EMAIL

Storing Java Objects in SQL

2002-06-12 Thread Paul Kofon
Hi all, I'm trying to store objects (instances) of a class in Microsoft SQL Server 2K using the Microsoft-provided JDBC driver, but I've been without any luck thus far. I've used the setObject() method in the PreparedStatement class and set my target sql type to BINARY, yet it doesn't work, I

Re: Control user access to directories in J-T ver 3.3 on unix?

2002-05-22 Thread Paul Kofon
Hi, I usually use custom user access control (nothing really fancy) since my passwords are hashed and stored in a database. I never investigated if Tomcat could give me the level of control I often need. If you chose to go the same way (i.e. create your own custom solution), then you could

Re: Calendar in XML/java script

2002-05-20 Thread Paul Kofon
Hi, I've done one using one JSP page with a bean, one Servlet and some JavaScript/DHTML. If you want it, let me know and I'll send it to you, with the source code and necessary how-tos. Cheers, Paul From: Uma Munugala [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To:

Http Sessions and Browsers

2002-03-27 Thread Paul Kofon
Hi all, I know that a session can be killed by calling session.invalidate() in a jsp page. However, I'm not sure what happens when the browser is closed before the session is killed. Does the server (Tomcat, this time) still hold references to objects that had been created or are they

Re: Tomcat4.0 as NT Service

2001-11-20 Thread Paul Kofon
Hi, Yes. There's a Windows installer that comes with Tomcat 4.x. It makes installing Tomcat 4.x as a Windows NT(2K) service as easy as selecting a check box during the installation process. Regards, Paul From: Ratnakar Palle [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED]

Help: Tomcat 3.x/ 4.x and FreeBSD

2001-09-12 Thread Paul Kofon
Hi All, I just got a request from a friend of mine to help him build a portal for his office. Now, he would like to keep using his server which runs FreeBSD. I don't have any experience with this OS, however, I'm willing to help my friend. My questions are these: 1. Which JDK should I use? 2.

Tomcat 4.0b7 and getRequestDispatcher().forward()

2001-09-07 Thread Paul Kofon
Hi, I moved an application from T3.2.2 to T4.0b7 and I get the following error message when a call is made to getRequestDispatcher().forward() in the doPost() method of two servlets like this: getServletConfig().getServletContext().getRequestDispatcher(/pages/my.jsp).forward(request,

Re: Strange NullPointerException Error in t4.0b7

2001-09-05 Thread Paul Kofon
2001 08:49:37 -0700 (PDT) On Tue, 4 Sep 2001, Paul Kofon wrote: Date: Tue, 04 Sep 2001 12:03:45 From: Paul Kofon [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Strange NullPointerException Error in t4.0b7 Hi All, I recently downloaded and installed

Strange NullPointerException Error in t4.0b7

2001-09-04 Thread Paul Kofon
Hi All, I recently downloaded and installed Tomcat 4.0 b7. I found it to be quite responsive and remarkably faster than it's predecessors. However, my joy was short-lived when I found out an application which I had written and extensively tested under Tomcat 3.2.2. was not working in the T4.0

request.getAttribute() problems

2001-07-20 Thread Paul Kofon
Hi all, I have a Bean whose scope I would like to set to request. I would like to retrieve this Bean's instance when the next page is requested. On the first page, I have: jsp:useBean id=beanclass class=BeanClass scope=request / On the next page, I have: BeanClass b = (BeanClass)

Re: request.getAttribute() problems

2001-07-20 Thread Paul Kofon
(such as a response.sendRedirect) your request object won't get passed along... David Paul Kofon wrote: Hi all, I have a Bean whose scope I would like to set to request. I would like to retrieve this Bean's instance when the next page is requested. On the first page, I have: jsp:useBean id=beanclass

RE: Generate Excel File

2001-07-19 Thread Paul Kofon
Hi, I've never done what you'd like to do. But if I remember correctly, the CSV text below will display correctly in Excel: Item,Price Doll,30 GameBoy,200 You'd have two rows and two columns (with headers Item and Price) of data. If the CSV data you're feeding Excel is not formatted like

OFF- TOPIC: Building web forms automatically

2001-05-30 Thread Paul Kofon
Hi everyone, I have a web-based application that depends heavily on forms. Sometimes, these forms have to be custom built according to the need at hand. I've thought about using XML/XSLT to generate and transform the forms for display. I'm familiar with the Xerces parser and can use to parse

SV: MySQL Driver Problem on Win 2k

2001-04-23 Thread Paul Kofon
Hi, I had the same problem when I had to run Tomcat as a Win2K service. In fact I posted the problem here but I didn't get any satisfactory answers until went to the docs. Now here's what you do: 1. Edit the wrapper.properties file found in the conf directory of your Tomcat installation. 2.

Re: NT Service Bug Still in JDK 1.3.1

2001-03-29 Thread Paul Kofon
Hi Mark, I have checked out what you talked about and I found it to be incorrect. I run Tomcat as a service the prescribed way on Win2k. My JVM is Sun's JDK1.3.1 Beta and I can logout without losing the service. Paul From: Steve Ruby [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL

RE: JDBC + Tomcat NT Service

2001-03-26 Thread Paul Kofon
Hi Randy, Thanks! I'm sorry I failed to mention that I had put the jar files in the lib directory as well. I don't have a problem loading the drivers when I run Tomcat normally but I do when I run it as a service - the drivers just refuse to load. The JDBC drivers are not the only jars in the

Re: How can i create a login application

2001-03-26 Thread Paul Kofon
HI, I'm sure there are a number of ways to do this. I have a method I use (which might not be the simplest solution). Usually, my protected page is a jsp. Now, to get to this jsp, you enter your username and password. When you hit the submit button, the request is sent to a servlet that checks

RE: JDBC + Tomcat NT Service

2001-03-26 Thread Paul Kofon
] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: JDBC + Tomcat NT Service Date: Mon, 26 Mar 2001 16:01:08 +0100 You aren't using the Microsoft VM are you? -Original Message----- From: Paul Kofon [mailto:[EMAIL PROTECTED]] Sent: 26 March

RE: JDBC + Tomcat NT Service

2001-03-26 Thread Paul Kofon
PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: JDBC + Tomcat NT Service Date: Mon, 26 Mar 2001 16:01:08 +0100 You aren't using the Microsoft VM are you? -Original Message----- From: Paul Kofon [mailto:[EMAIL PROTECTED]] Sent: 26 March