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

Ads
 

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

Ads









Related Tutorials/Questions & Answers:
In tag files,does attribute values accept expressions or not? If not please explain the reason
ModuleNotFoundError: No module named 'tag-expressions'
Advertisements
please explain this program
Please explain @interface with an example
Please explain @interface with an example
Please explain Hibernate Sessionfactory.
please explain this prog
Please explain the logic....
please explain this prog
ModuleNotFoundError: No module named 'cucumber-tag-expressions'
ModuleNotFoundError: No module named 'cucumber-tag-expressions'
retrieve multiple attribute values
retrieve multiple attribute values
retrieve multiple attribute values
select tag multiple values
please tell the reason for java.lang.ArrayIndexOutOfBoundsException: in program
Please explain me the flow of this program..
Rel attribute in area tag, Use of rel attribute in area tag.
please explain me the flow of this program
Rel attribute in anchor tag, Use of rel attribute in anchor tag.
HTML5 type attribute, Definition of type attribute in <area> tag.
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.
Please explain what is hibernatetemplate with an example code.
HTML5 <area> href, hreflang attribute of area tag.
Anchor tag attributes in HTML5, Define the href attribute of anchor tag.
<applet> tag requires code attribute.
Hreflang Attribute, Use of hreflang attribute of anchor tag in HTML5.
Please write code for this program in java and Explain it ? pl'sssssssss
html5 required attribute, Example of required attribute of &lt;textarea&gt; tag in html5
html5 maxlength attribute, Example of maxlength attribute of &lt;textarea&gt; tag in html5

Ads