RE: Multipart/form-data support in Struts

2003-12-02 Thread Ravi Krishna
Martin, Can you please point me to source where I can find the file upload feature in struts. Thanks in advance. ravikrishna -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 11:59 PM To: Tag Libraries Users List Subject:

Re: Multipart/form-data support in Struts

2003-12-02 Thread Mark R. Diggory
Martin, This could probably be more appropriate for Commons Developer, but: Any thoughts on a "pull" model Uploader for Commons Upload? Something that might return an Iterator over the multipart request stream in place of a List of processed FileItems? Just because its a design pattern taken a

Re: Multipart/form-data support in Struts

2003-12-02 Thread Mark R. Diggory
1.) Historical (When we started writing our project there were no multipart parsing libraries available other than COS). 2.) We aren't commercial, Yet I do actually own Jason's Book. 3.) I don't actually use Struts in my applications right now. I don't want to be dependent on yet another framew

Re: Multipart/form-data support in Struts

2003-12-02 Thread Martin Cooper
On Tue, 2 Dec 2003, Mark R. Diggory wrote: > I've been using the COS library, its a bit lower level but currently > meets my streaming needs for things like DOM'ing and XSL transforming > straight off the request input stream. > > http://www.servlets.com/cos/index.html With file upload capability

Re: Multipart/form-data support in Struts

2003-12-02 Thread Mark R. Diggory
Forgot to mention, COS has licensing restrictions that limit its use in commercial products. -M. Mark R. Diggory wrote: I've been using the COS library, its a bit lower level but currently meets my streaming needs for things like DOM'ing and XSL transforming straight off the request input str

RE: RE: trim string, append '...'

2003-12-02 Thread Dylan MacDonald
Hi - The string taglib sounded so useful that I just installed it. Unfortunately I am getting a 500 error when accessing the page that uses it (see below). Any ideas why? My environment is: Java 2 SDK SE, v 1.4.1 and Tomcat 4.1. Thanks, Dylan MacDonald org.apache.jasper.JasperException: org/

Re: Multipart/form-data support in Struts

2003-12-02 Thread Mark R. Diggory
I've been using the COS library, its a bit lower level but currently meets my streaming needs for things like DOM'ing and XSL transforming straight off the request input stream. http://www.servlets.com/cos/index.html -Mark K.C. Baltz wrote: One of the example webapps included with Struts 1.1

Re: Multipart/form-data support in Struts

2003-12-02 Thread K.C. Baltz
One of the example webapps included with Struts 1.1 is struts-upload. I've based my code off that. You'll probably want the source distribution of Struts to see how it's done. K.C. Ravi Krishna wrote: Hey Guys , I want to upload data of wave , jpeg and MPEG formats .Is there any tag in stru

Re: and general purpose tags in v. 1.1

2003-12-02 Thread Kris Schneider
Haven't used JWSDP, and I wouldn't necessarily recommend it unless you're really doing webservices. If you're not, just grab Tomcat 5 (v. 5.0.16-alpha is the latest) and Standard-1.1 (v. 1.1.0-B1 is the latest) and see if your results are any better. I haven't had any issues with that combo...yet ;

and general purpose tags in v. 1.1

2003-12-02 Thread webmaster
Is there a bug in the examples for and in the WSDP 1.3 for and ? I am getting the following error. 2003-12-02 04:38:23 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.AbstractMethodError: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servle

RE: Multipart/form-data support in Struts

2003-12-02 Thread Marcelo Flores
Exist a object FormFile in struts than support upload of files Here a few code and attach a file helper than do convert. Sorry for my english, but I am just learning. FormFile theFile = ( FormFile ) digitalizaForm.getFile(); if ( theFile != null && theFile.getFileSize() > 0 ) {

Re: Multipart/form-data support in Struts

2003-12-02 Thread James Neville
Hey Ravi, I believe a lot of the Struts guys use Commons File Upload. We've rolled our own, but then File Upload wasn't around back then :) http://jakarta.apache.org/commons/fileupload Make a post to the Struts list as I think there were some other alternatives, but I just can't remember them ri

Multipart/form-data support in Struts

2003-12-02 Thread Ravi Krishna
Hey Guys , I want to upload data of wave , jpeg and MPEG formats .Is there any tag in struts which I can use in my application to achieve this??? Your response is highly appreciated Regards/Ravi Krishna - To unsubscribe, e-mai