Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JSPG0124E: Custom tag attribute test cannot be runtime expression
08-20-2008, 01:27 AM
Post: #1
JSPG0124E: Custom tag attribute test cannot be runtime expression
I am getting an error message with my JSTL code. The stack trace is

HTTP Error Code: 500


Error Message:JSPG0227E: Exception caught while translating /registration.jsp: /registration.jsp(192,85) --> JSPG0124E: Custom tag attribute value cannot be runtime expression. value: "[${param.txtFirstName}]"

Root Cause:com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E: Exception caught while translating /registration.jsp: /registration.jsp(192,85) --> JSPG0124E: Custom tag attribute value cannot be runtime expression. value: "[${param.txtFirstName}]" at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.validateCustomTagAttributeValues(ValidateVisitor.java:1442) at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.visitCustomTagStart(ValidateVisitor.java:277) at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:253) at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:286) at

Whats wrong?
Find all posts by this user
Quote this message in a reply
08-20-2008, 03:01 PM
Post: #2
RE: JSPG0124E: Custom tag attribute test cannot be runtime expression
Looks like a JSTL version issue. What is your JSTL version? and please show me your Tag lib directive?
Visit this user's website Find all posts by this user
Quote this message in a reply
08-20-2008, 03:03 PM
Post: #3
RE: JSPG0124E: Custom tag attribute test cannot be runtime expression
I don't know what is my JSTL version. My taglib directive is

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
Find all posts by this user
Quote this message in a reply
08-20-2008, 03:08 PM
Post: #4
RE: JSPG0124E: Custom tag attribute test cannot be runtime expression
Try this

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
Visit this user's website Find all posts by this user
Quote this message in a reply
08-20-2008, 09:15 PM
Post: #5
RE: JSPG0124E: Custom tag attribute test cannot be runtime expression
Thanks its working now.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: