In tag files,does attribute values accept expressions or not? If not please explain the reason

In tag files,does attribute values accept expressions or not? If not please explain the reason

**Actually when i do manually in tomcat server with out eclipse it's working,but in eclipse it is raising the following exception.... could any body explain this please............**

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /demo1.jsp(20,5) According to TLD or attribute directive in tag file, attribute value does not accept any expressions org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148) org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:952) org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:706) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2222) org.apache.jasper.compiler.Node$Root.accept(Node.java:457) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166) org.apache.jasper.compiler.Validator.validate(Validator.java:1484) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167) org.apache.jasper.compiler.Compiler.compile(Compiler.java:296) org.apache.jasper.compiler.Compiler.compile(Compiler.java:277) org.apache.jasper.compiler.Compiler.compile(Compiler.java:265) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.

Apache Tomcat/5.5.26

View Answers

February 1, 2011 at 3:10 PM

Hi,

Post your code.

Thanks









Related Tutorials/Questions & Answers:
In tag files,does attribute values accept expressions or not? If not please explain the reason
please explain this program
Advertisements
Quotes around attribute values.
Please explain Hibernate Sessionfactory.
Please explain @interface with an example
Please explain @interface with an example
ModuleNotFoundError: No module named 'tag-expressions'
please explain this prog
Please explain the logic....
please tell the reason for java.lang.ArrayIndexOutOfBoundsException: in program
please explain this prog
attribute in action tag - Java Beginners
retrieve multiple attribute values
retrieve multiple attribute values
retrieve multiple attribute values
ModuleNotFoundError: No module named 'cucumber-tag-expressions'
ModuleNotFoundError: No module named 'cucumber-tag-expressions'
Please explain me the flow of this program..
please explain me the flow of this program
select tag multiple values
Rel attribute in area tag, Use of rel attribute in area tag.
ModuleNotFoundError: No module named 'nots'
Rel attribute in anchor tag, Use of rel attribute in anchor tag.
Please explain what is hibernatetemplate with an example code.
HTML5 type attribute, Definition of type attribute in <area> tag.
ModuleNotFoundError: No module named 'noty'
ModuleNotFoundError: No module named 'noty'
Target attribute in anchor tag, Use of target attribute of anchor tag in HTML5.
Anchor tag attributes in HTML5, Define the type attribute of anchor tag.
<applet> tag requires code attribute.
HTML5 <area> href, hreflang attribute of area tag.
Please write code for this program in java and Explain it ? pl'sssssssss
flush attribute in jsp:include tag - JSP-Servlet
ModuleNotFoundError: No module named 'nota'
ModuleNotFoundError: No module named 'nota'
Hreflang Attribute, Use of hreflang attribute of anchor tag in HTML5.
Anchor tag attributes in HTML5, Define the href attribute of anchor tag.
403 Forbidden error - What is 403 Forbidden error, please explain...
HTML5 audio loop, Use of loop attribute of audio tag in  HTML5.
403 Forbidden error - What is 403 Forbidden error, please explain...
HTML5 audio autoplay, Use of autoplay attribute in audio tag.
HTML5 audio autobuffer, Use of autobuffer attribute in audio tag.
Please explain this code as many packages and classes are unknown to me .!
Custom Tag example with no attribute and no body
html5 required attribute, Example of required attribute of &lt;textarea&gt; tag in html5
html5 placeholder attribute, Example of placeholder attribute of &lt;textarea&gt; tag in html5
html5 maxlength attribute, Example of maxlength attribute of &lt;textarea&gt; tag in html5
html5 readonly attribute, Example of readonly attribute of &lt;textarea&gt; tag in html5
Attribute dojoType invalid for tag iterate according to TLD - Ajax
html5 autofocus attribute, Example of autofocus attribute of &lt;textarea&gt; tag in html5

Ads