who can tell me how to config the connection time out in a struts
connectionpool?
i config my connectionpool as below.but connection will be exhausted very
soon.
data-sources
data-source key=testSource
type=org.apache.commons.dbcp.BasicDataSource
set-property property=driverClassName
Struts does not so much provide a connection pool as it provides a way
to load and expose one. The Struts data source controller will
instantiate any DataSource subclass you like and then use reflection to
set whatever properties you specify. Since you are using the Commons
DBCP pool, the best
dgraham 2003/08/02 13:35:28
Modified:src/share/org/apache/struts/taglib/html ImgTag.java
src/share/org/apache/struts/util RequestUtils.java
src/share/org/apache/struts/taglib TagUtils.java
Log:
Moved encodeURL() to TagUtils.
Revision Changes
dgraham 2003/08/02 13:40:18
Modified:src/share/org/apache/struts/util RequestUtils.java
src/share/org/apache/struts/taglib TagUtils.java
Log:
Moved pageURL() to TagUtils.
Revision ChangesPath
1.131 +7 -43
dgraham 2003/08/02 14:03:41
Modified:src/share/org/apache/struts/util RequestUtils.java
Added: src/share/org/apache/struts/util ModuleUtils.java
Log:
Moved module related methods to new ModuleUtils class.
Revision ChangesPath
1.132 +26 -69
dgraham 2003/08/02 14:04:42
Modified:src/share/org/apache/struts/util ModuleUtils.java
Log:
Set to cvs keyword substitution mode.
Revision ChangesPath
1.2 +0 -0 jakarta-struts/src/share/org/apache/struts/util/ModuleUtils.java
Index: ModuleUtils.java
dgraham 2003/08/02 14:07:33
Modified:src/share/org/apache/struts/taglib TagUtils.java
Log:
Replace RequestUtils calls with ModuleUtils.
Revision ChangesPath
1.20 +9 -7 jakarta-struts/src/share/org/apache/struts/taglib/TagUtils.java
Index: TagUtils.java
dgraham 2003/08/02 14:08:55
Modified:src/share/org/apache/struts/action ActionServlet.java
Log:
Replace RequestUtils calls with ModuleUtils.
Revision ChangesPath
1.165 +8 -10
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
Index:
dgraham 2003/08/02 14:12:16
Modified:src/share/org/apache/struts/validator Resources.java
src/share/org/apache/struts/action Action.java
Log:
Replace RequestUtils calls with ModuleUtils.
Revision ChangesPath
1.19 +9 -5
dgraham 2003/08/02 14:16:54
Modified:src/share/org/apache/struts/tiles
TilesUtilStrutsModulesImpl.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Replace RequestUtils calls with ModuleUtils.
Revision ChangesPath
1.6
dgraham 2003/08/02 14:18:46
Modified:src/test/org/apache/struts/util TestRequestUtils.java
Log:
Replace RequestUtils calls with ModuleUtils.
Revision ChangesPath
1.22 +10 -9
jakarta-struts/src/test/org/apache/struts/util/TestRequestUtils.java
Index:
dgraham 2003/08/02 14:21:32
Modified:src/share/org/apache/struts/actions SwitchAction.java
Log:
Replace RequestUtils calls with ModuleUtils.
Revision ChangesPath
1.11 +6 -6
jakarta-struts/src/share/org/apache/struts/actions/SwitchAction.java
Index:
dgraham 2003/08/02 14:38:16
Modified:src/share/org/apache/struts/taglib TagUtils.java
src/share/org/apache/struts/util LocalStrings.properties
Added: src/share/org/apache/struts/taglib LocalStrings.properties
Log:
Move message resources to taglib package.
dgraham 2003/08/02 14:44:40
Modified:src/share/org/apache/struts/taglib LocalStrings.properties
src/share/org/apache/struts/util LocalStrings.properties
Log:
Complete movement of message resources to taglib package.
Revision ChangesPath
1.13 +15 -1
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22062.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21613.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
TheServerSide (www.theserverside.com) recently published a case study that
attempted to analyze the performance characteristics of a variety of
middleware configurations, including two J2EE app servers and Microsoft's
.NET platform. One of the hot spots that showed up in the Java based
figures
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21913.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21614.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
dgraham 2003/08/02 15:19:37
Modified:src/share/org/apache/struts/util ModuleUtils.java
RequestUtils.java
src/share/org/apache/struts/tiles
TilesUtilStrutsModulesImpl.java
src/share/org/apache/struts/taglib
dgraham 2003/08/02 15:22:13
Modified:src/share/org/apache/struts/upload
DiskMultipartRequestHandler.java
Log:
Use ModuleUtils.getModuleConfig() instead of looking in the request
directly.
Revision ChangesPath
1.24 +19 -11
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21913.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22086.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22086.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
Dear Struts Dev,
I have launched a sub-project at the struts sourceforge site which provides
workflow functionality for struts. Essentially it is a re-write of the
struts controller and provides a significant set of additional features. I
am currently working on finalizing the struts example and
25 matches
Mail list logo