Database access via OO

2000-11-09 Thread Pramod
Hi all,   Does any one know about any good Java OO implmentations using which direct database access from the middle layer can be avoided to the maximum ?     A vague explanation will be like - Middle layer coders will not be accessing database directly,  what they do is, create objects and

Help: struts on Orion 1.4.0 and JDK 1.3.0

2000-11-09 Thread Montebove Luciano
I followed the instructions in the INSTALL file for installing struts on Orion Aplication Server (1.4.0 on JDK 1.3.0) but I still get the following exception in the browser: javax.servlet.jsp.JspException: Missing resources attribute org.apache.struts.action.MESSAGE at org.apache.struts.t

Re: Database access via OO

2000-11-09 Thread Michael Westbay
Pramod-san wrote: > Hi all, HTML off please. > Does any one know about any good Java OO implmentations using which > direct database access from the middle layer can be avoided to the > maximum ? > > A vague explanation will be like - Middle layer coders will not be > accessing database direct

RE: Database access via OO

2000-11-09 Thread Lacerda, Wellington (AFIS)
Have you seen Castor ? http://www.exolab.org Wellington Silva UN/FAO -Original Message- From: Michael Westbay [mailto:[EMAIL PROTECTED]] Sent: 09 November 2000 10:17 To: [EMAIL PROTECTED] Subject: Re: Database access via OO Pramod-san wrote: > Hi all, HTML off please. > Does any on

Re: complex, multidimensional properties

2000-11-09 Thread Eric
I have modified struts to support nested, indexed property names (i.e. zoos[1].animals[1]) in its forms. Can someone tell me why what I have done is wrong and why nobody in their right mind would ever do it? :) I'm not very clear on the distinction between BeanUtils' property handling methods an

Re[2]: complex, multidimensional properties

2000-11-09 Thread Oleg V Alexeev
Hello Craig, I have same problem. Some time ago I try to solve it by rewriting some portion of code of AcrionServlet. I modify code to support such properties as myProperty[1], myProperty[2] with indexed setters, getters: public void setMyProperty( int index, String value ) {} public String g

struts, tomcat, and CodeWarrior

2000-11-09 Thread William Jaynes
Is anyone using CodeWarrior for struts development? I'm new to CodeWarrior, and want to setup development using tomcat and struts. I've set up a CodeWarrior project such that I can run tomcat from within CW. All the tomcat examples work fine. But when I try to run a struts (0.5) project I get an

Debug page

2000-11-09 Thread Pierre Métras
Hi, (sorry for those whose browser don't support HTML e-mail, but tables get scrambled...) In case others have a similar need to debug request and response properties and see HTTP headers, here is a simple test page (test.jsp) that shows major attributes. Either call it directly or have it d

RE: Database access via OO

2000-11-09 Thread Joel Schneider
Another one is jRelationalFramework: http://sourceforge.net/projects/jrf/ http://jrf.sourceforge.net/ Joel On Thu, 9 Nov 2000, Lacerda, Wellington (AFIS) wrote: > Have you seen Castor ? > > http://www.exolab.org > > Wellington Silva > UN/FAO > > -Original Message- > From: Michael Wes

RE: Database access via OO

2000-11-09 Thread Matt Heinrichs
Might want to check out Expresso, from javacorporate.com That is what we are planning to use with our Struts app for OO mapping, plus some of it's other services. Matt - Matthew W. Heinrichs Fax: 1(501)421-7321 cell: (612)749- -Original Message- Fro

sending zip file to browser

2000-11-09 Thread Naveed Khan
Guys: I m trying to send a zip file from an action class back to browser.. a portion of code i m using is below : . .. zipFiles( pathPrefix , filesArr , outFileName ); response.setContentType( "application" ); sendZipFile( outFileName , response.getOutputStream() ); . ..

RE: sending zip file to browser

2000-11-09 Thread Steve Aument
response.setHeader("Content-Disposition","inline; filename=app.zip"); /stephen > -Original Message- > From: Naveed Khan [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, November 09, 2000 5:07 PM > To: [EMAIL PROTECTED] > Subject: sending zip file to browser > > Guys: > > I m t

RE: sending zip file to browser

2000-11-09 Thread Naveed Khan
i tried but it didnt work .. thanks . naveed >From: Steve Aument <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: RE: sending zip file to browser >Date: Thu, 9 Nov 2000 13:10:38 -0600 > > response.setHeader("Content-Disposition","inline; filename=app.zip");

Re: Struts docs? , Sample app from informit.com

2000-11-09 Thread Jim Moore
Heres the link to Maneesh Sahu's articles http://www.informit.com/books/authors/author_template/index.asp?authorid={A08A00B0-71BB-42DB-9B29-08879A9A7ABE}">Maneesh's Struts Articles Or you could find him by clicking Internet->Java at informIT.com. -jim >Just checked InformIT and the featured ex

File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Incze Lajos
This error comes from compiling the newly submitted upload tag library: I think uses a servlet 2.3 method, so it should be replaced by some equivalent legal 2.2 solution. - [javac] Compiling 6 source files to /p/import/build/struts/library/classes [javac] /p/import/jakarta-struts/src

RE: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Schachter, Michael
make sure you pull off the new versions of ActionForm, ActionServlet, ActionMapping and BeanUtils. -Original Message- From: Incze Lajos [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 09, 2000 1:10 PM To: [EMAIL PROTECTED] Subject: File upload taglib doesn't compile under tomcat 3.2

RE: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Schachter, Michael
Oh, and getTempDir() is in ActionServlet, no 2.3 stuff in there to my knowledge. -Original Message- From: Incze Lajos [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 09, 2000 1:10 PM To: [EMAIL PROTECTED] Subject: File upload taglib doesn't compile under tomcat 3.2 This error comes

Re: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Incze Lajos
On Thu, Nov 09, 2000 at 04:34:03PM -0500, Schachter, Michael wrote: > Oh, and getTempDir() is in ActionServlet, no 2.3 stuff in there to my > knowledge. Don't know, but neither ActionServlet contains this method nor any of it's ancestors (in 2.2/1.1). That's why I thought that this build was test

RE: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Schachter, Michael
Incze, In the most recent cvs version of ActionServlet, located here: http://jakarta.apache.org/cvsweb/index.cgi/jakarta-struts/src/share/org/apac he/struts/action/ActionServlet.java I see the getTempDir() method. This probably wasn't included in the latest build yet, as I just checked it in t

Re: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Craig R. McClanahan
Incze Lajos wrote: > On Thu, Nov 09, 2000 at 04:34:03PM -0500, Schachter, Michael wrote: > > Oh, and getTempDir() is in ActionServlet, no 2.3 stuff in there to my > > knowledge. > > Don't know, but neither ActionServlet contains this method nor > any of it's ancestors (in 2.2/1.1). That's why I t

Re: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Craig R. McClanahan
> //get a handle to some temporary file and open > //a stream to it > String tempDir = servlet.getTempDir(); > if (tempDir == null) { > tempDir = System.getProperty("java.io.tmpdir"); > } > Michael, A servlet container implementing 2.2 or later

RE: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Stephen Earl
Hi, Is the definition of the radio tag in the struts-form tag library definition missing the value declaration or is it just me??? The source for the tag appears to support the value attribute, however the tld does not declare it. Anyone... Steve... -Original Message- From: Craig R.

RE: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Schachter, Michael
yes it is. it'll be fixed in the next 20 minutes. -Original Message- From: Stephen Earl To: '[EMAIL PROTECTED]' Sent: 11/9/00 6:18 PM Subject: RE: File upload taglib doesn't compile under tomcat 3.2 Hi, Is the definition of the radio tag in the struts-form tag library definition missin

Re: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Incze Lajos
On Thu, Nov 09, 2000 at 05:46:22PM -0500, Schachter, Michael wrote: > Incze, > > In the most recent cvs version of ActionServlet, located here: > > http://jakarta.apache.org/cvsweb/index.cgi/jakarta-struts/src/share/org/apac > he/struts/action/ActionServlet.java > > I see the getTempDir() metho

Re: Database access via OO

2000-11-09 Thread Pramod
Hi all, Thank u very much for the help. I'll check these and tell u my observations. Thanks, Pramod - Original Message - From: Matt Heinrichs <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 09, 2000 10:45 PM Subject: RE: Database access via OO > Might want to che