aspose file tools*
The moose likes Struts and the fly likes Attribute labelSeparator invalid for tag checkboxlist according to TLD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Attribute labelSeparator invalid for tag checkboxlist according to TLD" Watch "Attribute labelSeparator invalid for tag checkboxlist according to TLD" New topic
Author

Attribute labelSeparator invalid for tag checkboxlist according to TLD

Pandian Ranganathan
Greenhorn

Joined: Oct 20, 2009
Posts: 13
[b]Hi...

i am using this web site tutorial http://www.interview-questions-tips-forum.net/index.php/Struts-Struts-2-Example-Tutorial/Struts2-Tags-Example/Code-and-Tutorial

My index.jsp file is


I am getting this error

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: /index.jsp(15,0) Attribute labelSeparator invalid for tag checkboxlist according to TLD
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:236)
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1200)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:840)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1736)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:183)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)

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

how can i solve this error...

please reply immediately...

Thanks in advance...[/b]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please UseCodeTags when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the button.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You don't bother mentioning which version of S2 you're trying to use, which is too bad, since that attribute was added at some point around 2.0.11.
Pandian Ranganathan
Greenhorn

Joined: Oct 20, 2009
Posts: 13
Thanks David newton

i am using struts-2.0.14 and i used the code tags for coding...

please clarify my doubts...

Thanks for your reply...

Thanks in advance
...
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9321
    
  17

Can you show us the directory structure of your application so that we can see which libraries you've included. Also make sure that you've not included struts tld manually into the application, its in the struts jar so the container (most of the containers) will read it automatically from the jar...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Pandian Ranganathan
Greenhorn

Joined: Oct 20, 2009
Posts: 13
Hi david Newton..

i deleted lableSeparator attribute in index.jsp file..

now it is working...

Thank you....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Attribute labelSeparator invalid for tag checkboxlist according to TLD