rleland 2004/03/11 22:03:56
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Provide a forwardURL that is compatable with Struts 1.1
Revision ChangesPath
1.147 +55 -9
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index:
husted 2004/01/01 11:27:20
Modified:src/share/org/apache/struts/taglib TagUtils.java
src/share/org/apache/struts/taglib/bean IncludeTag.java
WriteTag.java
src/share/org/apache/struts/taglib/html ImgTag.java
husted 2003/12/20 14:42:52
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Segregate methods so that deprecations are grouped together. No other changes.
Revision ChangesPath
1.139 +498 -491
husted 2003/12/17 19:34:58
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Remove unused private field.
Revision ChangesPath
1.137 +4 -11
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
rleland 2003/08/27 22:50:32
Modified:src/share/org/apache/struts/config ConfigHelper.java
src/share/org/apache/struts/taglib/html BaseTag.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Factor out common code for generating string
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
rleland 2003/07/26 23:27:19
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
deprecate computeURL() and Move to computeURL() to Tagutils
Revision ChangesPath
1.128 +20 -165
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
rleland 2003/07/26 10:39:34
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Move computeParameters to TagUtils
Revision ChangesPath
1.121 +5 -83
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
dgraham 2003/07/26 11:45:24
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Removed bad imports.
Revision ChangesPath
1.123 +4 -6
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
dgraham 2003/07/26 12:15:49
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Deprecated saveException().
Revision ChangesPath
1.127 +7 -7
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
sraeburn2003/07/25 00:26:53
Modified:src/share/org/apache/struts/util RequestUtils.java
Removed: src/share/org/apache/struts/util ErrorMessages.java
Log:
Remove deprecated ErrorMessages
Revision ChangesPath
1.111 +4 -20
sraeburn2003/07/25 02:15:57
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Backwards compatibility fix. Changed ModuleConfig lookups to use getModuleConfig so
that default module config is returned if one is not already present in the request.
PR #21821
dgraham 2003/07/25 17:19:45
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Added getUserLocale() that accepts an HttpServletRequest object instead
of a JSP specific PageContext object.
Revision ChangesPath
1.113 +19 -6
dgraham 2003/07/25 17:34:24
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Fixed bad import.
Revision ChangesPath
1.114 +4 -5
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
dgraham 2003/07/25 18:23:32
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Replaced getModuleConfig() body with call to TagUtils.
Revision ChangesPath
1.119 +5 -7
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index:
martinc 2003/07/15 21:57:44
Modified:src/share/org/apache/struts/util Tag: STRUTS_1_1_BRANCH
RequestUtils.java
Log:
Detab file.
Revision ChangesPath
No revision
No revision
1.105.2.1 +55 -55
martinc 2003/07/15 22:10:38
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Make retrieveMessageResources() module-aware by adding the module prefix
to the bundle name when retrieving from application context.
PR: 11932
Submitted by: Alex Kwan
Revision
martinc 2003/07/15 22:11:11
Modified:src/share/org/apache/struts/util Tag: STRUTS_1_1_BRANCH
RequestUtils.java
Log:
Make retrieveMessageResources() module-aware by adding the module prefix
to the bundle name when retrieving from application context.
martinc 2003/07/13 21:21:06
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Detab file.
Revision ChangesPath
1.109 +55 -55
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
dgraham 2003/07/02 18:47:06
Modified:src/share/org/apache/struts Globals.java
src/share/org/apache/struts/action ActionServlet.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Moved initialization of module prefix list to the new
dgraham 2003/07/01 20:09:48
Modified:src/test/org/apache/struts/util TestRequestUtils.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Removed deprecated application methods in favor of module methods.
Revision ChangesPath
1.19 +8 -8
dgraham 2003/06/27 17:20:07
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Synchronized getModulePrefixes() method for PR# 21091. I left a TODO
note to improve the method for 1.2.
Revision ChangesPath
1.105 +8 -6
dgraham 2003/06/19 21:09:57
Modified:src/share/org/apache/struts/taglib/html RewriteTag.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Added new RequestUtils.computeURL() method with yet another parameter
encodeSeparator.
If redirect is true, the
dgraham 2003/06/14 11:36:20
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Added boolean checkPageScope parameter to retrieveMessageResources()
for PR# 20750.
Revision ChangesPath
1.103 +17 -14
dgraham 2003/04/02 17:29:03
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Fixed braces placement in message() for PR # 18591.
Revision ChangesPath
1.96 +8 -6
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index:
dgraham 2003/03/23 20:39:35
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Code cleanup.
Revision ChangesPath
1.95 +13 -7
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
dgraham 2003/03/17 20:13:06
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Removed extra return statement for PR # 17273.
Revision ChangesPath
1.94 +4 -5
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index:
dgraham 2003/03/10 18:04:20
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Added missing braces to blocks to ease confusion. No functionality change.
Revision ChangesPath
1.92 +56 -36
dgraham 2003/03/10 19:09:00
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Removed redundant code for getModuleConfig methods, moved the methods
next to each other for readability.
Revision ChangesPath
1.93 +16 -20
dgraham 2003/03/01 16:22:40
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Change encodeURL to not use reflection on every call.
Revision ChangesPath
1.91 +26 -15
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index:
dgraham 2003/02/25 20:48:57
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
retrieveUserLocale now uses the request.getLocale() method for finding the
user's preferred locale. If user has not specified this with Accept-Language
header, the server default locale
dgraham 2003/02/24 19:27:40
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Fixed PR# 17312 (retrieveUserLocale throws exception without sessions).
Revision ChangesPath
1.87 +19 -7
dgraham 2003/02/24 20:39:32
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Fix my fix for PR #17312.
Revision ChangesPath
1.88 +6 -7
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
craigmcc2003/02/08 13:20:20
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Formally document the behavior of forwardURL() so that people will know
what to expect (and what we test for). No functionality changes.
Revision ChangesPath
1.83 +38 -8
craigmcc2003/02/08 15:31:30
Modified:conf/share struts-config_1_1.dtd
src/share/org/apache/struts/action ExceptionHandler.java
src/share/org/apache/struts/config ExceptionConfig.java
src/share/org/apache/struts/util RequestUtils.java
Log:
craigmcc2003/02/08 15:34:38
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Forgot a closing /p.
Revision ChangesPath
1.86 +5 -5
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
martinc 2003/02/06 21:25:24
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Do not remove the action mapping from the request for multipart requests.
This means that the action mapping will always be available under the
Globals.MAPPING_KEY request attribute,
dgraham 2003/02/05 19:01:59
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Renamed getApplicationPrefixes to getModulePrefixes.
Revision ChangesPath
1.81 +19 -5
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index:
dgraham 2003/02/04 21:28:53
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Cosmetic changes only.
Revision ChangesPath
1.80 +15 -16
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
dmkarr 2003/01/12 12:31:21
Modified:src/share/org/apache/struts/tiles DefinitionsUtil.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Fixed some minor javadoc errors.
Revision ChangesPath
1.11 +4 -4
husted 2002/12/29 08:59:58
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Apply patch for PR #13645 contributed by James Turner.
Revision ChangesPath
1.76 +139 -9
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index:
cedric 2002/12/29 13:27:32
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Add two methods:
- one to retrieve the module config from the request
- one to get the module name from a uri passed as String
Revision ChangesPath
1.77 +31 -4
craigmcc2002/12/23 12:52:38
Modified:src/share/org/apache/struts/action DynaActionForm.java
src/share/org/apache/struts/util RequestUtils.java
Log:
WARNING: Backwards-incompatible patch being applied. Please review!
Commit a fix for 14669 (reset() in
dgraham 2002/11/24 13:59:43
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Added encodeURL method to handle URLEncoder.encode() issues between
java 1.3 and 1.4.
Revision ChangesPath
1.73 +50 -20
dgraham 2002/11/17 18:52:12
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Changed present() to check in request scope after checking page scope but
before checking application scope.
Bugzilla PR: 14092
Revision ChangesPath
1.72 +25 -11
cedric 2002/11/05 06:07:09
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Factorize the module name computation in method getModuleName().
Let selectApplication(...) use this new method.
Revision ChangesPath
1.67 +27 -15
ekbush 2002/10/29 13:04:38
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Updated selectApplication to be more friendly with Cactus and StutsTestCase.
It would seem when run under Cactus/StrutsTestCase, the URI handed to
selectApplication does not have an
rleland 2002/10/29 18:29:15
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
rename getApplicationConfig to getModuleConfig
no deprecation needed since this is unreleased.
Revision ChangesPath
1.66 +6 -6
rleland 2002/10/16 19:41:59
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Cleanup JavDoc
Revision ChangesPath
1.63 +31 -17
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
ekbush 2002/10/15 10:37:25
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Change RequestUtils.selectApplication so that it looks for an exact match
rather than using the startsWith criteria. This fixes a problem where
an incorrect module would be selected
rleland 2002/10/15 11:10:52
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Fix bug introduced by factoring out Application Config.
config was not getting set.
-Rob
Revision ChangesPath
1.62 +13 -6
rleland 2002/10/14 11:16:19
Modified:src/share/org/apache/struts/action Action.java
src/share/org/apache/struts/taglib/bean StrutsTag.java
src/share/org/apache/struts/taglib/html FormTag.java
src/share/org/apache/struts/taglib/logic
rleland 2002/10/12 12:42:22
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Remove unused parameter in a private method
of RequestUtils.
Revision ChangesPath
1.56 +6 -9
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
craigmcc2002/10/12 18:33:39
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Make getActionMessages() consistent with getActionErrors() with respect
to searching all scopes instead of only request scope.
Revision ChangesPath
1.58 +5 -5
martinc 2002/10/07 23:16:42
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Remove obsolete unused code.
PR: 13281
Submitted by: Nicola Guidotto
Revision ChangesPath
1.54 +4 -5
cedric 2002/07/24 06:01:46
Modified:src/test/org/apache/struts/util TestRequestUtils.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Re-enable automatic '/' prefix in forwardURL(...).
Re-enable associated tests (passed successfully).
Tiles now catch
craigmcc2002/07/12 08:47:01
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Fix forwardURL() and pageURL() to use the new M substitution character
instead of A (reflecting the name change from sub-app to module).
Funny thing ... it even makes the unit tests
husted 2002/07/09 17:00:19
Modified:src/share/org/apache/struts/util RequestUtils.java
StrutsValidatorUtil.java AppException.java
Log:
Javadoc updates. No code changes.
Revision ChangesPath
1.46 +24 -24
craigmcc2002/07/01 18:51:10
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
computeURL() - when rendering a URL with multiple query parameters, use the
reserved '' separator between each name=value pair, rather tha amp;.
PR: Bugzila #5942
Submitted by:
craigmcc2002/06/22 15:19:13
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Make selectApplication() work correctly when running in the target of a
RequestDispatcher.include() call (including use inside Tiles).
PR: Bugzilla #8768
Submitted by: Ian Tomey
craigmcc2002/06/22 18:38:32
Modified:src/share/org/apache/struts/taglib/html FormTag.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Eliminate double call to ActionForm.reset() when a form bean is created
by RequestUtils.createActionForm().
PR:
craigmcc2002/06/15 22:32:50
Modified:src/example/org/apache/struts/webapp/example
SaveRegistrationAction.java
SaveSubscriptionAction.java
src/share/org/apache/struts/util RequestUtils.java
Log:
When determining whether
craigmcc2002/06/15 22:39:17
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Fix the previous patch to look up the correct application class for the
form bean's specified type, and use isAssignableFrom() as a better test.
Revision ChangesPath
1.37
craigmcc2002/06/15 22:56:05
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Correct comparison of the class name on DynaActionForm beans.
PR: Bugzilla #9208
Submitted by: Chuck Cavaness chuckcavaness at attbi.com
Revision ChangesPath
1.38 +5
craigmcc02/03/22 17:38:15
Modified:src/share/org/apache/struts/actions SwitchAction.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Correct handling of request attributes and, as Martin suggested, refactor
the manipulations into a RequestUtils method
martinc 02/02/28 22:24:00
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Fix two problems related to multiple sub-apps and their associated message
resources:
- message() should look for message resources in request context instead of
page context.
-
craigmcc01/12/29 11:35:33
Modified:src/share/org/apache/struts/action Action.java
ActionServlet.java
src/share/org/apache/struts/util RequestUtils.java
Log:
As each request passes through the controller servlet, call the new
husted 01/11/21 05:30:38
Modified:src/share/org/apache/struts/util Tag: STRUTS_1_0_BRANCH
RequestUtils.java
Log:
Modify RequestUtils to address issue #4997 - autopopulation exploit.
This change prevents the Public String properties of ActionServlet from
husted 01/11/21 06:00:28
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Modify RequestUtils to address issue #4997 - autopopulation exploit.
This change prevents the Public String properties of ActionServlet from being
changed via a query string.
Revision
oalexeev01/11/21 10:48:42
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Add method retrieveUserLocale(PageContext pageContext, String localeKey)
Revision ChangesPath
1.25 +21 -10
dwinterfeldt01/10/16 08:48:29
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Added a getActionErrors and getActionMessages methods to generate the correct
corresponding object based on the object retrieved from request scope based on the key
passed in.
martinc 01/08/14 23:15:51
Modified:src/share/org/apache/struts/action ActionServlet.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Allow disabling of the Struts multipart request handling mechanism, by
specifying 'none' as the value of the
martinc 01/08/05 12:00:29
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Ported transaction token fix for computeParameters().
PR: 2636
Submitted by: Oliver Willenbrock (Thanks for the fix!)
Revision ChangesPath
1.21 +5 -5
craigmcc01/06/12 19:59:43
Modified:src/share/org/apache/struts/util Tag: STRUTS_1_0_BRANCH
RequestUtils.java
Log:
Restore correct calculation of the absolute URL from a context-relative
path.
PR: Bugzilla #2135
Submitted by: Levi Cook [EMAIL
craigmcc01/06/09 21:13:34
Modified:src/share/org/apache/struts/util RequestUtils.java
Log:
Port the fix for Bugzilla #2088.
Revision ChangesPath
1.17 +6 -6
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
craigmcc01/06/01 13:21:41
Modified:src/share/org/apache/struts/util Tag: STRUTS_1_0_BRANCH
RequestUtils.java
Log:
Generate amp; instead of in request URIs so that the output is still
legal XML syntax in the value returned by computeURL().
PR:
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 4:22 PM
To: [EMAIL PROTECTED]
Subject: cvs commit: jakarta-struts/src/share/org/apache/struts/util
RequestUtils.java
craigmcc01/06/01 13:21:41
Modified:src/share/org/apache/struts/util Tag
Sounds good. I don't have access to other browsers but they probably work
too.
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 5:31 PM
To: [EMAIL PROTECTED]
Subject: RE: cvs commit:
jakarta-struts/src/share/org/apache/struts/util
: Deadman, Hal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 5:21 PM
To: [EMAIL PROTECTED]
Cc: 'Cedric Dumoulin'
Subject: RE: cvs commit: jakarta-struts/src/share/org/apache/struts/util
RequestUtils.java
What's the plan regarding forwarding the orignal request instead of the
wrapped request
PROTECTED]
Subject: Re: cvs commit:
jakarta-struts/src/share/org/apache/struts/util
RequestUtils.java
On Fri, 11 May 2001, Martin Cooper wrote:
At 03:44 PM 5/11/01, Craig R. McClanahan wrote:
On 11 May 2001 [EMAIL PROTECTED] wrote:
mschachter01/05/11 15:33:38
Modified
Martin,
You mean if I have an Action that is invoked via POST with a file upload,
and I try to forward from there using mapping.findForward(nextAction),
where the forward has redirect=false, this will fail?
No, right after the ActionForward is returned and right before ActionServlet
processes
craigmcc01/05/12 13:34:01
Modified:src/share/org/apache/struts/taglib/bean IncludeTag.java
src/share/org/apache/struts/taglib/html LinkTag.java
RewriteTag.java
src/share/org/apache/struts/taglib/logic RedirectTag.java
Craig,
Speaking of schemes, any advice on the easiest way to flip between http:
and https: -- the context being able to offer the option of logging in
securely under https:, and then returning to http: afterwards.
Yahoo! Auctions does this, and I'm trying to do that same at
On Sat, 12 May 2001, Ted Husted wrote:
Craig,
Speaking of schemes, any advice on the easiest way to flip between http:
and https: -- the context being able to offer the option of logging in
securely under https:, and then returning to http: afterwards.
You can calculate an absolute
craigmcc01/05/02 20:29:39
Modified:src/share/org/apache/struts/taglib/bean IncludeTag.java
LocalStrings.properties
src/share/org/apache/struts/taglib/html LinkTag.java
LocalStrings.properties
craigmcc01/03/10 16:58:47
Modified:src/doc release-notes-1.0-b2.xml
src/share/org/apache/struts/taglib/html BaseTag.java
src/share/org/apache/struts/util RequestUtils.java
Log:
Correct hyperlinks generated by html:link and html:redirect to
properly
86 matches
Mail list logo