alright, i posted a problem, now i'm posting the solution...
Solved the problem re: compiling new mod_webapp:
For my version of red hat linux, the apxs is in /usr/sbin/,
so the pre-make configure command was:
./configure --with-apxs=/usr/sbin/apxs
make
that got the mod_webapp to compile.
I
I did the following and it works for me:
MultipartRequest m = new MultipartRequest(request, ., 1048576);
m.getParameter(...);
James
You need to use the new BinaryRequest class that he creates to get all
your form data, including strings.
Brandon
-Original Message-
From: Henry
Use the servlet package from o'reilly at www.servlets.com
They have a bunch of utilitites for accessing the form data.
-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 5:47 PM
To: [EMAIL PROTECTED]
Subject: multipart form data
In a FORM data
You need to use the new BinaryRequest class that he creates to get all your
form data, including strings.
Brandon
-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 4:47 PM
To: [EMAIL PROTECTED]
Subject: multipart form data
In a FORM data that
pass the request to the o'reilly stuff and request the objects from there
and you can also get a new request object from there servlets which
behaves the way you want..
Mvgr,
Martin
-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 11:47 PM
To:
2001 15:32
To: [EMAIL PROTECTED]
Subject: RE: Multipart form data in Tomcat 4.0
http://www.jspsmart.com/ has a 'freeware' file uploader called jsp smart
upload. It is not open sourced but it does work and it allows for
commercial use. I don't remember the details of the oreilly file upload
On Fri, 5 Oct 2001, Stefán F. Stefánsson wrote:
Date: Fri, 5 Oct 2001 15:20:45 -
From: Stefán F. Stefánsson [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat-User [EMAIL PROTECTED]
Subject: Multipart form data in Tomcat 4.0
Hello.
I'm wondering if anybody can give me
Title: multipart/form-data
hello,
Back
again with some good news to those who want's to know : I've fixed it
!
And
the worst about it is that it is no obvious but so simple : just treate and read
the stream !
As
soon as I read down the stream entrance, no bug appeared anymore. I think it
Title: multipart/form-data
hello
Jose,
I was
not using any at the time and I did some personal component to read the stream
since. thanks for helping. I ran it out by now.
-Original Message-From: Jose Euclides da Silva
Junior - DIGR.O
[mailto:[EMAIL PROTECTED]]Sent:
Page not found is browser-speak for your servlet blew chunks.
Take a look at the window Tomcat is running in: unless you wrote a good deal
of code to avoid it, you should see a stack trace which tells you where your
code broke.
If there's no stack trace, chances are your servlet is locked up.
On Mon, 12 Mar 2001, Mike Slinn wrote:
The following JSP (test.jsp) calls itself for processing. Unfortunately, it
doesn't display after the form is submitted, unless
enctype="multipart/form-data" is omitted. As far as I can see from scanning
the archives, there is/was a bug that
An Internal Server Error is caused by an uncaught exception in your
code. Probably a NullPointerException, but it could be anything that
extends java.lang.Runtime exception.
Randy
-Original Message-
From: Saikat Chatterjee [mailto:[EMAIL PROTECTED]]
Sent: Friday,
YS/NYTIMES)|
| Subject: RE: Multipart/form-data|
---|
An Internal Server Error is caused by an uncaught exception in your
code. Probably a NullPointerException, but it could b
If you're using mod_jk with binary multipart/form-data, avoid AJP13,
as it has a bug. Use AJP12.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 9:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Multipart/form-data
I posted
omcat-user |
|| |
|+---
---|
| |
| To: [EMAIL PROTECTED] |
| cc: (bcc: Yanbin Ma/SYS/NYTIMES)|
| Subject: RE: Multipart
Saikat-
I had a problem with the O'Reilly MultiPartRequest object as well.
My error was an IO exception. It was suggested to me on this list
(by Ed Gomolka) that Ajp13 has some bugs for file uploading, and that
Ajp12 is more stable.
Change your mod_jk config to use the
Ajp12 worker and see
Are you using AJP12 or AJP13? AJP13 has a bug in this area.
We encountered this with uploaded JPEG files, and also got the zero bytes
error,
but resolved it with no other changes after switching back to AJP12.
-Original Message-
From: Bill Fox [mailto:[EMAIL PROTECTED]]
Sent: Monday,
Title: RE: multipart/form-data problem
This has been a pretty common topic lately. Since I am one of the last people to ask a similar question, I thought I would share.
* Tomcat 3.2 final has a bug that garbles multi part streams. (Fix is planned in 3.2.2, workaround available - see the last
* Tomcat 3.2 final has a bug that garbles multi part streams. (Fix is
planned in 3.2.2, workaround available - see the last few days of list
topics).
Did the patch from Dan didn't fix that ?
Did you speek about multi-part via ajp13 ?
TC 3.2.1 with Dan patch (ajp13) works perfectly now with
19 matches
Mail list logo