RE: how to detect when the user presses the stop button

2002-07-29 Thread Dan Petrie
Look on jGuru.com You will find the answer there. -Dan- -Original Message- From: Andrew Geery [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 3:18 PM To: 'Struts Users Mailing List' Subject: RE: how to detect when the user presses the stop button I saw that answer, but I was

RE: upload files

2002-07-29 Thread Dan Petrie
Hi Christian, Simply use the request object passed into the Action's perform/execute method, set the content type, write whatever data is necessary, and return null (no ActionForward). -Dan- -Original Message- From: Christian Pich [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002

RE: Error tag returning null on either side of message

2002-07-26 Thread Dan Petrie
Dan (nice name by the way), You are missing the errors.header errors.footer properties in your ApplicationResources.properties file. I believe Struts 1.1 Beta ignores this. Dan -Original Message- From: Dan Paul [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 4:50 PM To:

RE: [OT] What do you do with your SQL?

2002-07-26 Thread Dan Petrie
Hi Chris, You may want to explore the idea of a DAO Factory. We currently use such a mechanism to retrieve a runtime interface to handle all database interaction. The implementation of the interface (i.e. class name) is specified in a properties file that is read at deploy time. So...to handle

RE: ActionForm across multiple pages - confusion

2002-07-25 Thread Dan Petrie
Hi David, Since your object is in request scope, once the request is processed (i.e. page displayed), there is no longer a reference to the form. When a new request is submitted, a new form instance is created, the reset(...) method is called (important when using session scope beans), and then