Author: mrdon
Date: Tue Aug 23 21:52:11 2005
New Revision: 239531
URL: http://svn.apache.org/viewcvs?rev=239531&view=rev
Log:
Fixed bug loading struts configuration files where wrongly handled
unlocated paths
PR: 28051
Modified:
struts/core/trunk/src/share/org/apache/struts/action/ActionServlet.java
Modified:
struts/core/trunk/src/share/org/apache/struts/action/ActionServlet.java
URL:
http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/action/ActionServlet.java?rev=239531&r1=239530&r2=239531&view=diff
==============================================================================
--- struts/core/trunk/src/share/org/apache/struts/action/ActionServlet.java
(original)
+++ struts/core/trunk/src/share/org/apache/struts/action/ActionServlet.java Tue
Aug 23 21:52:11 2005
@@ -1858,11 +1858,13 @@
}
ArrayList resolvedUrls = new ArrayList();
- URL resource = null;
+ URL resource;
String path = null;
try {
+
// Process each specified resource path
while (paths.length() > 0) {
+ resource = null;
int comma = paths.indexOf(',');
if (comma >= 0) {
path = paths.substring(0, comma).trim();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]