368112 NPE on <jsp-config><taglib> element parsing web.xml

This commit is contained in:
Jan Bartel 2012-01-09 11:07:41 +11:00
parent 3141b50fa0
commit 6e3c8094f1
1 changed files with 1 additions and 1 deletions

View File

@ -1254,7 +1254,7 @@ public class StandardDescriptorProcessor extends IterativeDescriptorProcessor
context.setResourceAlias(uri, location);
JspConfig config = (JspConfig)context.getServletHandler().getServletContext().getJspConfigDescriptor();
JspConfig config = (JspConfig)context.getServletContext().getJspConfigDescriptor();
if (config == null)
{
config = new JspConfig();