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 framework other than straight up Servlets and JSP.
4.) I want to "validate" and "prune" the content of the Request InputStream directly, prior to allocating disk space for it. I actually SAX parse the the request stream content for the file through a sax Filter, there I can control certain features of uploaded xml content I want to maintain and others that we don't allow my user to maintain, I save memory and disk space by dropping SAX events for that content. XML Metadata documents for statistical data files can get huge (larger than the data files themselves), I'd rather use Streaming capabilities on them and not have to manipulate the content that I'll never actually maintain.
-Mark
Martin Cooper wrote:
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 built into Struts, I'm curious as to why you would choose to use a different library?
One thing to watch out for with the COS library is the license. If you use it in a commercial application, you are *required* to purchase copies of (the latest edition of) Jason Hunter's book for every developer. See:
http://www.servlets.com/cos/license.html
Strange but true...
-- Martin Cooper
-Mark
K.C. Baltz wrote:
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 struts which I can use in my application to achieve this???
Your response is highly appreciated
Regards/Ravi Krishna
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Mark Diggory Software Developer Harvard MIT Data Center http://osprey.hmdc.harvard.edu
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
