Index: RequestUtils.java =================================================================== RCS file: /home/cvspublic/jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java,v retrieving revision 1.86 diff -u -r1.86 RequestUtils.java --- RequestUtils.java 8 Feb 2003 23:34:37 -0000 1.86 +++ RequestUtils.java 21 Feb 2003 13:36:36 -0000 @@ -924,6 +924,13 @@ MessageResources resources = null; + // Calculate a context relative path for this ForwardConfig + ModuleConfig config = + (ModuleConfig) pageContext.getRequest().getAttribute(Globals.MODULE_KEY); + if (config != null && bundle!=null) { + bundle = bundle + config.getPrefix(); + } + // Look up the requested MessageResources if (bundle == null) { bundle = Globals.MESSAGES_KEY; @@ -1756,7 +1763,7 @@ * @deprecated Use getModulePrefixes(ServletContext) instead. */ public static String[] getApplicationPrefixes(ServletContext context) { - return getModulePrefixes(context); + return getModulePrefixes(context); } /**