mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Fixed double slash when portlet namespace is defined
WW-1641 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@498090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -246,10 +246,12 @@ public class Jsr168Dispatcher extends GenericPortlet implements StrutsStatics,
|
||||
}
|
||||
StringBuffer fullPath = new StringBuffer();
|
||||
if (TextUtils.stringSet(portletNamespace)) {
|
||||
fullPath.append(portletNamespace + "/");
|
||||
fullPath.append(portletNamespace);
|
||||
}
|
||||
if (TextUtils.stringSet(namespace)) {
|
||||
fullPath.append(namespace + "/");
|
||||
fullPath.append(namespace).append("/");
|
||||
} else {
|
||||
fullPath.append("/");
|
||||
}
|
||||
fullPath.append(defaultAction);
|
||||
ActionMapping mapping = new ActionMapping();
|
||||
|
||||
Reference in New Issue
Block a user