Re: DAO Addition to struts

2002-07-30 Thread Sid Stuart
Hi Dan, Another O/R mapping tool for your list, SourceForge:Hibernate http://hibernate.sourceforge.net/ Sid Dan Cancro wrote: What's the difference between DAO frameworks and Object Relational frameworks? Here's a list of things I was calling Object Relational Mapping Tools. Are these the

Re: Populating a Form with values

2002-07-24 Thread Sid Stuart
Hi all, I also initially wrote two action classes for each JSP page, one to intialize it and the other to process the form. This got a bit messy, so I wrote template that looks at the HTTP method and calls an initialization method if it is a GET or calls a form processing method if it is

Re: session beans

2002-02-14 Thread Sid Stuart
FilterBean filter = (FilterBean) session.getAttribute (FilterBean.FILTERBEAN_KEY); if (filter == null) { log.info (Creating Filter); session.setAttribute (FilterBean.FILTERBEAN_KEY, new FilterBean ()); } Henry Lu wrote: How to

HTML tags setting attribute to null?

2002-02-13 Thread Sid Stuart
Hi, I am seeing an unexpected result while using Struts 1.01/1.02 (upgraded and tested before I wrote this message.) My application uses two beans to populate some struts HTML tags (text, checkbox and select). The process flow is to call an action to create the beans and add them the session.

Re: HTML tags setting attribute to null?

2002-02-13 Thread Sid Stuart
Please ignore this, it turned out to be a coding problem. Sid Stuart wrote: Hi, I am seeing an unexpected result while using Struts 1.01/1.02 (upgraded and tested before I wrote this message.) My application uses two beans to populate some struts HTML tags (text, checkbox and select

Re: A good database pool?

2002-02-12 Thread Sid Stuart
Hi Alex, You don't mention which app server you are using. Have you checked to see whether it has a connection pool manager? All that I have looked at do. Sid Alex Colic wrote: Hi, I have a couple of struts apps that use a lot of database connections. I have been moving them over to use a

Re: speed of struts

2002-02-06 Thread Sid Stuart
Hi Lee, Did this bug have a tracking number? I would like to find out when it gets fixed. Sid Stuart [EMAIL PROTECTED] wrote: I had a form with lots of custom tags. When run under the Sun 1.3 JDK it was slow as molasses. Sun 1.2 JDK or IBM 1.3 was instantaneous. A few mailing list posts

Design question about ActionForm's validate method

2002-02-05 Thread Sid Stuart
to subtle errors, one should decide whether a page will be accessed as a JSP or as an Action and design for the one scenario. The simplest (and safest) design rule will be to access all pages through either one mechanism or the other. Comments? Sid Stuart

Re: Design question about ActionForm's validate method

2002-02-05 Thread Sid Stuart
(error.logon.passwordRequired)); } return errors; } Sid Sid Stuart wrote: Hi, I've stumbled across a subtle problem/design question that I don't see mentioned in the documentation. The ActionForm's validate method can be configured to verify form data from a page and generate

Re: Design question about ActionForm's validate method

2002-02-05 Thread Sid Stuart
You get a zero length string. Sid dderry wrote: What if your user then hits the Submit button without populating any of the form fields? - Original Message - From: Sid Stuart [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 2:06

Re: struts and JRun 3.1?

2001-11-27 Thread Sid Stuart
Yes, it has been fixed. The Struts 1.0 Example runs without modification on a JRun 3.1 installation on a Win2K system. Sid Collins, Mark wrote: Under the status of various containers for struts installation, there is the following note about JRun that applies to JRun v3.0 SP2. Does anyone

Re: Choosing an app server to work with Struts

2001-11-27 Thread Sid Stuart
Hi, HP is planning to give away it's latest version of the BlueStone App server. I have not played with it yet, so can't say whether it is any good, but the price is right. The ship date for the new version is around Nov. 30 and one needs to sign up to recieve it. According to the spec sheet at,

Struts example and JRun 3.1 problem

2001-11-13 Thread Sid Stuart
error=193 Is the example application known to work with JRun 3.1? If so what is a viable syntax for the locale tag? Thanks in advance, Sid Stuart PS Note that I also tried the original syntax for locale, just to see if they fixed the problem. It returned the same error message