Weblogic 10.3.0 On Windows Does Not Work Correctly With Functions Defined On A Tld

(Doc ID 1374085.1)

Last updated on APRIL 15, 2018

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Information in this document applies to any platform.


When deploying the application which uses struts-json-tags inside the jsp page running into issue.

<%@taglib prefix="json" uri="/struts-json-tags" %>
These are my Strings = ${json:serialize(myStrings)};

running into below  exception.

javax.el.ELException: Function 'json:serialize' specifies 5 params, but 1 were declared Stack trace:
javax.el.ELException: Function 'json:serialize' specifies 5 params, but 1 were declared
at com.sun.el.lang.ExpressionBuilder.visit(ExpressionBuilder.java:207)
at com.sun.el.parser.SimpleNode.accept(SimpleNode.java:149)
at com.sun.el.lang.ExpressionBuilder.prepare(ExpressionBuilder.java:167)
at com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:178)
at com.sun.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:221)
at com.sun.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:81)
at weblogic.servlet.jsp.ELHelper.createValueExpression(ELHelper.java:48)
at weblogic.servlet.jsp.ELHelper.evaluate(ELHelper.java:30)
at jsp_servlet._example.__testcase._jspService(__testcase.java:76)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms