Struts in Print

2003-02-14 Thread Bradley G Smith
There are 3 (!) articles about Struts in the recent issue of Oracle Magazine (Jan/Feb 2003). The most recent Linux Magazine also has a Struts article (the whole issue has a Java and Linux focus). It always helps to have these references around to convince management that Struts is a good strategic

Re: Best tag to display table

2003-02-13 Thread Bradley G Smith
For your information, Ed Hill has graciously allowed a small team of interested developers to take over maintenance and update of the displaytag code. The team is in the process of collating patches and updates Ed has on hand as well as a few other tag libraries that extended the original

Re: OT: Yet another Persistence Survey

2003-02-12 Thread Bradley G Smith
Answer for our Struts applications is current C. Brad Vic Cekvenich

RE: [OT] dummy data tool

2003-02-10 Thread Bradley G Smith
As a Struts-based application developer and project manager living in Bend and looking at Mt Bachelor every day, I can second Craig's comments. The mountains are indeed beautiful. The ski slopes are just 3/4 hour away. Brad

Re: db connection pool question

2003-01-21 Thread Bradley G Smith
select 1 from dual is the standard way to ping oracle for a valid connection. I would also recommend using Oracle's connection pool. It will do this in the background. We have several tomcat and struts applications running for weeks without problems. Even with Oracle going off line for

RE: db connection pool question

2003-01-21 Thread Bradley G Smith
Thanks, Matt -Original Message- From: Bradley G Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:29 AM To: Struts Users Mailing List Cc: david chan; Struts Users Mailing List Subject: Re: db connection pool question select 1 from dual is the standard way

RE: db connection pool question

2003-01-21 Thread Bradley G Smith
My pleasure. Here is the relevant code in the struts-config.xml file: data-sources data-source key=POLL_DATA_SOURCE type =oracle.jdbc.pool.OracleConnectionPoolDataSource set-property property=password value=password /

RE: db connection pool question

2003-01-21 Thread Bradley G Smith
And, where i mention PID below, I meant SID (which is going away according to Oracle). Brad Bradley G

RE: db connection pool question

2003-01-21 Thread Bradley G Smith
to do some config in tomcat's server.xml which make it depends on app. server) Thanks. David --- Bradley G Smith [EMAIL PROTECTED] wrote: If the Oracle class has the getter and setter methods, then yes, you can set these properties. Struts is very nice about conforming to JavaBean standards. I

Re: restarting tomcat with Ant

2003-01-21 Thread Bradley G Smith
There are also the ant tasks in the catalina-ant.jar (or something close) file that is distributed with tomcat. This makes for some easy integration with ant. Brad

Re: Axis/SOAP proposal for Struts

2003-01-17 Thread Bradley G Smith
I have been thinking about it this off and on for a while. It seems to me that SOAP (or xml-rpc or ...) would be another access point into the business logic of the application that is a peer to the access point provided by a Struts-based layer. The Struts-based components provide the mechanism

RE: Axis/SOAP proposal for Struts

2003-01-17 Thread Bradley G Smith
a response from a Forward that formed a SOAP Response instead of a web page. Michael Oliver AppsAsPeers LLC 7391 S. Bullrider Ave. Tucson, AZ 85747 Phone:(520)574-1150 Fax:(520)844-1036 -Original Message- From: Bradley G Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 9:46 AM

Re: Collection within Collection

2003-01-15 Thread Bradley G Smith
Here is an example of a body content JSP (nested in a template jsp) that pulls a Collection bean from the request context (a ResultList from the Scaffold Struts library). This bean, called listBean, provides and applications property that is also a Collection (ArrayList). The jsp iterates over

Cancel Submit Buttons

2002-12-20 Thread Bradley G Smith
Can someone please describe how to enable an action to respond to submit and cancel buttons differently? The action is derived from the scaffold.BaseAction class. I have submit working to generate a response. I would like cancel to redirect to the main menu of the application. I suppose one

Re: Oracle DataSource Tips

2002-12-17 Thread Bradley G Smith
One tactic I have used is to create a singleton data access class (e.g. DataCache) which provides methods that return data as beans (not action form beans). The DataCache class gets initialized in a Struts plug-in. Plug-ins execute once when the application starts and once when it shuts down, and

Oracle DataSource Tips

2002-12-16 Thread Bradley G Smith
Since it took me several hours to catch this bug, I thought I might pass it along to anyone using Oracle as a datasource for the Struts application. The OracleDatSource and OraclePooledConnectionDataSource classes use standard Bean naming conventions for getters and setters. The url property,

Re: Oracle DataSource Tips

2002-12-16 Thread Bradley G Smith
Bradley G Smith To: [EMAIL PROTECTED] [EMAIL PROTECTED

Re: struts 1.1-b2 connection Pool

2002-11-26 Thread Bradley G Smith
For what it is worth, I use several web applications with Oracle as the backend database. The ping query that I have used for a long time (since JDBC 1.0 days) with Oracle is select 1 from dual. Brad

PlugIn - and PlugIn Properties

2002-11-19 Thread Bradley G Smith
Does someone have a good example of using a Struts PlugIn with PlugIn properties they would be willing to share. I tried to follow the code in the Tiles PlugIn but this seemed to be overly complex for what I need. Thanks, Brad Smith -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

[OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread Bradley G Smith
The nov/dec issue of Oracle Magazine has several person of the year awards. The person picked as Java developer of the year is James Holmes for his work on Struts Console. Struts is also mentioned in several articles as a key framework component in the same issue. Brad -- To unsubscribe,

Printing User Guide

2002-10-24 Thread Bradley G Smith
I have noticed that when I try to print out the user guide, that each section has a slightly larger right margin so that when I try to print the 3rd section or so (Model Components or View Components) the right margin of the text is truncated and therefore unusable. I have noticed this with other

RE: Printing User Guide

2002-10-24 Thread Bradley G Smith
, Skip -Original Message- From: Bradley G Smith [mailto:bgsmith01;fs.fed.us] Sent: Thursday, October 24, 2002 10:22 AM To: [EMAIL PROTECTED] Subject: Printing User Guide I have noticed that when I try to print out the user guide, that each section has a slightly larger right margin so

Datasource Access Options (was Connection Pooling)

2002-10-15 Thread Bradley G Smith
I spent much of yesterday using Google to glean information about configuring Struts (w/ Tomcat in my case) to use a datasource. As Eddie Bush points out in a prior post options for initializing a datasource (with or without a connection pool) include: 1. Tomcat JNDI service via server.xml; 2.

Re: Struts project

2002-10-09 Thread Bradley G Smith/R6/USDAFS
Excellent. Thanks. I placed an order for the book (and several others) last week. I look forward to the additional material. Brad chuckcavaness