Re: File Upload

2004-10-05 Thread Michael McGrady
Hello, Martin, What I am saying is very simple, and I am not sure what is the difficulty. As I've said, you are absolutely free to handle file uploads however you want. The whole point is that this is not the case. The whole point is that the present arrangement ties people to a specific way o

Connection Pool using struts

2004-10-05 Thread Deepesh Nandal
Hi , I have been using connection pool generated by struts using the parameters in tags of struts-config.xml, (database used is mysql 4.0.18) in my web application . Everything seems to be fine but at times the connections in the pool are lost and application fails to work, there is no other

Re: File Upload

2004-10-05 Thread Michael McGrady
For anyone interested in an option, what I would like to do is given below. Anyone have any suggestions on the best way to do this and still use ActionForm, short of rewriting ActionForm? Thanks for any assistance. (The UploadFileItem is just a simple Serialized wrapper of commons' FileItem.

Re: File Upload

2004-10-05 Thread Niall Pemberton
Michael, I'd rather you didn't tell other people what my views are (as you seem to get it wrong most of the time). Although I wrote most of the wiki page your refer to, Martin Cooper added the warning. Niall - Original Message - From: "Michael McGrady" <[EMAIL PROTECTED]> To: "Struts De

Re: File Upload

2004-10-05 Thread Michael McGrady
Niall Pemberton wrote: Michael, I'd rather you didn't tell other people what my views are (as you seem to get it wrong most of the time). Although I wrote most of the wiki page your refer to, Martin Cooper added the warning. Niall Thank you for that clarification, Niall. Martin, then, is the one t

File Upload DEPRECATED?

2004-10-05 Thread Ivan
I don t understand. As you see here (http://struts.apache.org/api/org/apache/struts/upload/package- frame.html) This package is almost deprecated in favor of commons- fileupload. Ok i have remove the method based on struts 1.1 example(example and code that is remove on struts 1.2.2!!!), and i test

[GUMP@brutus]: struts/struts failed

2004-10-05 Thread Stefan Bodewig
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact folk at [EMAIL PROTECTED] Project struts has an issue affecting its community integration. Project State : 'Failed' Fu

[GUMP@brutus]: struts/struts failed

2004-10-05 Thread Stefan Bodewig
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact folk at [EMAIL PROTECTED] Project struts has an issue affecting its community integration. Project State : 'Failed' Fu

Re: File Upload

2004-10-05 Thread Mike Stanley
Hi Michael, I don't understand you're proposal. FileItem (from commons upload) is an interface with a factory. FileUploadBase (the parser) is abstract with different implementations. Why would you wrap the interface instead of simply creating a new concrete implementation of the above mentioned

SAXParseException

2004-10-05 Thread Xavier Lawrence
Hi, I am getting these stange org.xml.sax.SAXParseException: Content is not allowed in prolog and I don't understand why... Anybody would have a clue where I shoul start looking ? (I see nothing wrong in my config XML files...) I am trying to make a simple struts-portlet work... Thanks in adv

Re: SAXParseException

2004-10-05 Thread Mike Stanley
portlet.xml :-) Basically you have content (may be space or blank lines) before the prolog . I've also heard of this error message showing up if you had content after the prolog but before the open root. (I've never seen that though ;-) Here's a forum that discusses this issue. http://forum.ja

Re: File Upload

2004-10-05 Thread Michael McGrady
Hi, Mike, I respond to your thoughts within. I am not creating a proposal, perhaps I should say. I am just trying to find a clean way to implement a file upload application. Mike Stanley wrote: Hi Michael, I don't understand you're proposal. FileItem (from commons upload) is an interface with

Re: SAXParseException

2004-10-05 Thread Xavier Lawrence
I allready looked at this and the problem still remains. What is strange is that I took the files from the struts-demo WebApp and modified them. So such errors should not appear... En réponse à Mike Stanley <[EMAIL PROTECTED]>: > portlet.xml :-) > > Basically you have content (may be space o

[PATCH] Fixes deprecated references

2004-10-05 Thread Sean Schofield
Can someone please commit these three patches? TIA, sean Index: src/share/org/apache/struts/tiles/TilesRequestProcessor.java === RCS file: /home/cvspublic/jakarta-struts/src/share/org/apache/struts/tiles/TilesRequestProcessor.java,v

Re: [PATCH] Fixes deprecated references

2004-10-05 Thread Joe Germuska
At 10:56 AM -0400 10/5/04, Sean Schofield wrote: Can someone please commit these three patches? Please submit all patches as attachments to Bugzilla tickets. Email transit almost inevitably results in corrupted patches. Thanks Joe -- Joe Germuska [EMAIL PROTECTED] http://bl

Re: File Upload

2004-10-05 Thread Vic Cekvenich
I think this should be on the users list. Commons-users list. There are other file upload jars, such as Jason Hunter if this one does not fit. .V (and... I do not see how file upload is a core competency of Struts, it's similar to Tiles) Michael McGrady wrote: Hi, Mike, I respond to your though

Re: [PATCH] Fixes deprecated references

2004-10-05 Thread Sean Schofield
OK sorry about that. I submitted them a while back as bugzilla tickets but nobody applied them. Can you apply them for me? (Bug#31230) Thanks, sean Joe Germuska wrote: Please submit all patches as attachments to Bugzilla tickets. Email transit almost inevitably results in corrupted patches.

Re: File Upload

2004-10-05 Thread Michael McGrady
I was on the commons users list, Vic, and Martin Cooper suggested strongly that I move to the struts lists. Isn't this essentially a developer's issue? Thanks. Michael McGrady Vic Cekvenich wrote: I think this should be on the users list. Commons-users list. There are other file upload jars,

RE: [PATCH] Fixes deprecated references

2004-10-05 Thread Roberto Tyley
I think Sean already has submitted these patches (see #31230) - he's just doing a quick nag like Craig told him to :-) -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 16:04 To: Struts Developers List Subject: Re: [PATCH] Fixes deprecated reference

[GUMP@brutus]: struts/struts failed

2004-10-05 Thread Stefan Bodewig
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact folk at [EMAIL PROTECTED] Project struts has an issue affecting its community integration. Project State : 'Failed' Fu

[GUMP@brutus]: struts/struts failed

2004-10-05 Thread Stefan Bodewig
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact folk at [EMAIL PROTECTED] Project struts has an issue affecting its community integration. Project State : 'Failed' Fu

Re: [PATCH] Fixes deprecated references

2004-10-05 Thread Joe Germuska
At 11:17 AM -0400 10/5/04, Sean Schofield wrote: OK sorry about that. I submitted them a while back as bugzilla tickets but nobody applied them. Can you apply them for me? (Bug#31230) That's what I get for speaking up! ;^) I won't be able to do them during the day today, but if no one else get

Re: File Upload

2004-10-05 Thread Martin Cooper
On Tue, 05 Oct 2004 00:01:14 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > Hello, Martin, > > What I am saying is very simple, and I am not sure what is the difficulty. > > >As I've said, you are absolutely free to handle file uploads however you want. > > > > > The whole point is that this

Re: File Upload DEPRECATED?

2004-10-05 Thread Martin Cooper
The package is *not* deprecated. What is deprecated is the old, buggy implementation. The replacement is not Commons FileUpload, but is a Struts wrapper around Commons FileUpload. See CommonsMultipartRequestHandler. That implementation has been the default implementation in Struts for quite some ti

Re: File Upload

2004-10-05 Thread Mike Kienenberger
Michael McGrady <[EMAIL PROTECTED]> wrote: > Is there a way that it would make sense in the future to allow > developers using Struts to specify their own interface for multipart > request handlers? This is probably a stupid suggestion but couldn't > Struts leave the interface at something like

RE: File Upload DEPRECATED?

2004-10-05 Thread Hiran.Chaudhuri
Hi. Although I'm not in the fileupload discussion, I also strongly suggest to be more verbose on the @deprecated tag, as it allows much quicker solution of the warnings during compile. Hiran - Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimer Straße 11 808

Re: File Upload

2004-10-05 Thread Michael McGrady
Martin Cooper wrote: On Tue, 05 Oct 2004 00:01:14 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: Hello, Martin, What I am saying is very simple, and I am not sure what is the difficulty. As I've said, you are absolutely free to handle file uploads however you want. The whole point

problem with 1.2.4 validation-rules and JBoss 3.2.5 ?

2004-10-05 Thread Rick Reumann
I posted this problem on the Struts list so sorry for the cross post now, but I'm curious if any of you have some thoughts on what the problem below could be: When I deploy any of the sample Struts 1.2.4 apps that use the validation-rules.xml JBoss complains. However, if I comment out all the

Re: File Upload

2004-10-05 Thread Michael McGrady
Martin Cooper wrote: On Tue, 05 Oct 2004 00:01:14 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: Hello, Martin, What I am saying is very simple, and I am not sure what is the difficulty. As I've said, you are absolutely free to handle file uploads however you want. The whole point

Re: File Upload

2004-10-05 Thread Michael McGrady
Michael McGrady wrote: Martin Cooper wrote: On Tue, 05 Oct 2004 00:01:14 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: Hello, Martin, What I am saying is very simple, and I am not sure what is the difficulty. As I've said, you are absolutely free to handle file uploads however you wan

[Apache Struts Wiki] Updated: FrontPage

2004-10-05 Thread dev
Date: 2004-10-05T18:27:08 Editor: NiallPemberton <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: FrontPage URL: http://wiki.apache.org/struts/FrontPage no comment Change Log: -- @@ -20,6 +20,7 @@ *

[Apache Struts Wiki] New: StrutsMaintenance

2004-10-05 Thread dev
Date: 2004-10-05T18:29:39 Editor: NiallPemberton <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: StrutsMaintenance URL: http://wiki.apache.org/struts/StrutsMaintenance no comment New Page: The intention of this page is to provide a place to put notes on tasks for maintaining

[Apache Struts Wiki] New: StrutsMaintenanceGump

2004-10-05 Thread dev
Date: 2004-10-05T18:29:50 Editor: NiallPemberton <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: StrutsMaintenanceGump URL: http://wiki.apache.org/struts/StrutsMaintenanceGump no comment New Page: = Notes on the Struts Gump Metadata = '''N.B.''' The gump '''metadata''

[Apache Struts Wiki] Updated: StrutsMaintenance

2004-10-05 Thread dev
Date: 2004-10-05T18:32:26 Editor: NiallPemberton <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: StrutsMaintenance URL: http://wiki.apache.org/struts/StrutsMaintenance no comment Change Log: -- @@ -1

Communcation skills [was: Re: File Upload]

2004-10-05 Thread James Mitchell
> Since you have not responded, Martin, I will assume for the moment that > you agree with the foregoing. Michael, now why would you think that Michael? Is this your policy when participating in a public forum Michael? Did it ever occur to you that some people, Michael, are just tired of corresp

[Apache Struts Wiki] New: StrutsMaintenanceValidWhenParser

2004-10-05 Thread dev
Date: 2004-10-05T18:41:45 Editor: NiallPemberton <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: StrutsMaintenanceValidWhenParser URL: http://wiki.apache.org/struts/StrutsMaintenanceValidWhenParser no comment New Page: The following files are generated by [http://www.antlr.o

[Apache Struts Wiki] Updated: StrutsMaintenance

2004-10-05 Thread dev
Date: 2004-10-05T18:43:08 Editor: NiallPemberton <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: StrutsMaintenance URL: http://wiki.apache.org/struts/StrutsMaintenance no comment Change Log: -- @@ -1

Re: Communcation skills [was: Re: File Upload]

2004-10-05 Thread Michael McGrady
James Mitchell wrote: Since you have not responded, Martin, I will assume for the moment that you agree with the foregoing. Michael, now why would you think that Michael? Is this your policy when participating in a public forum Michael? Did it ever occur to you that some people, Michael, are

Re: Communcation skills [was: Re: File Upload]

2004-10-05 Thread Michael McGrady
James Mitchell wrote: Since you have not responded, Martin, I will assume for the moment that you agree with the foregoing. Michael, now why would you think that Michael? Is this your policy when participating in a public forum Michael? Did it ever occur to you that some people, Michael, are

Re: SAXParseException

2004-10-05 Thread Xavier Lawrence
I fixed the problem and I think there is a bug in the SAXParser. My file was correct from the beginning. Its first line was the following: with nothing before the first tag and I kept getting 'org.xml.sax.SAXParseException: Content is not allowed in prolog' After several hours of seeking and