I've been able to generate PDF in the response output stream in Tomcat 5.
I used the example from this O'Reilly OnJava article:
http://www.onjava.com/pub/a/onjava/2003/06/18/dynamic_files.html
The code of interest is shown below:
code
resp.setHeader(Cache-Control, max-age=30);
Oracle's
DBMS_LOB.GET_LENGTH function) it says only 31808!
Now again, these big files work fine under Tomcat 3.2.
Anyone experiencing this??
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 1:57 PM
To: Tomcat User's Group
Subject: Servlet
Hi,
I've got a servlet for uploading and downloading
files using com.oreilly.servlet package. It worked
fine under Tomcat 3.2 for large files ( 2MB).
Under Tomcat 4.0.1, with everything else the same,
it won't download large files.
For example, downloading a 3MB PDF file via
Netscape
: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 1:57 PM
To: Tomcat User's Group
Subject: Servlet Download of large files broke Tomcat4.0.1
Hi,
I've got a servlet for uploading and downloading
files using com.oreilly.servlet package. It worked
fine under Tomcat 3.2
I've recently upgraded from 3.2 to 4.0.1. Wasn't very painful. Did it
in one day. Had to change taglib .tld files which contained the
xmlns attribute within the taglib tag to instead use the
DOCTYPE tablib .. form instead.
Also had to get latest Warp stuff to get around a servlet file upload
Hello,
The Java Servlet Specification (Version 2.3, Draft 2) under SRV.12.2 states:
The security model applies to the static content part of the web
application and to servlets within the application that are requested by the
client. The security model does not apply when a servlet uses the
R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 12:40 PM
To: Tomcat User's Group; [EMAIL PROTECTED]
Subject: Re: Does the servlet security model work with the J2EE
Blueprint MVC?
On Wed, 15 Aug 2001, Jerome Jacobsen wrote:
Hello,
The Java Servlet Specification
I develop using Oracle's Web-to-Go servlet container (comes with JDeveloper
3.2.3 IDE). My production environment is Tomcat 3.2. The production
environment always seemed just as quick or quicker than my development
environment concerning JSPs, until now. I recently started to replace the
use
I'm new to J2EE security, both servlet and EJB. From what little reading
I've done it sounds like declarative security should be seamless between the
servlet container and the EJB container (and that no programming should be
necessary for declarative security). Here's an excerpt from a recent