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
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
Answer for our Struts applications is current C.
Brad
Vic Cekvenich
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
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
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
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 /
And, where i mention PID below, I meant SID (which is going away according
to Oracle).
Brad
Bradley G
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
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
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
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
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
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
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
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,
Bradley G
Smith To: [EMAIL PROTECTED]
[EMAIL PROTECTED
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
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
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,
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
, 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
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.
Excellent. Thanks. I placed an order for the book (and several others) last
week. I look forward to the additional material.
Brad
chuckcavaness
24 matches
Mail list logo