Hi,
I have a jsp file which has the following lines
line 5 : <%@ taglib prefix="c" uri="
http://java.sun.com/jsp/jstl/core"
%>
line 18: <jsp:useBean id="webtop"
class="com.tarantella.tta.portlet.WebtopSessionBean"/>
line 19: <c:set target="${webtop}" property="webtopSession"
value="${TTA_SESSION_OBJECT}"/>
When I deploy the application, I am getting the following error.
org.apache.jasper.JasperException: /jsp/login.jsp(19,0) PWC6236:
According to TLD or attribute directive in tag file, attribute target
does not accept any expressions
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:62)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:185)
at
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1165)
at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:834)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1482)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2313)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:481)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
at
org.apache.jasper.compiler.Validator.validate(Validator.java:1837)
at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:195)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:409)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:371)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Currently I am deploying using Application server 9.1. This code is
previously working fine with Application Server 8.
Any Ideas??