getServletContextName() should simply return an empty
String. This way tests that need that functionality can
just assume the context name will be / or the default
path. With the current implementation code tested by
MockStrutsTest case needs to catch
UnsupportedOperationException in the real code so it
will run in this test harness. A one line patch is
attached to implement this.
Logged In: YES
user_id=88575
Adding patch
getServletContextName() return an empty String
Unified diff for patch
Logged In: YES
user_id=88575
Add unified diff instead.
Logged In: YES
user_id=366284
fixed in upcoming release.
Logged In: YES
user_id=88575
Reopen this as the patch doesn't seem to be applied. The
2.0 release still it thorwing the exception and looking in
CVS this appears to still have the exception rather than
returning an empty string.