This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes Exception while running struts-org.apache.jasper.JasperException: /index.jsp(30,6) Attribute name in Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Exception while running struts-org.apache.jasper.JasperException: /index.jsp(30,6) Attribute name in" Watch "Exception while running struts-org.apache.jasper.JasperException: /index.jsp(30,6) Attribute name in" New topic
Author

Exception while running struts-org.apache.jasper.JasperException: /index.jsp(30,6) Attribute name in

shailaja siddappa
Greenhorn

Joined: Apr 14, 2009
Posts: 16
Hi Experts,
I am new to struts and while running my first struts application I am getting exception which is pasted below. Please help me in this.

org.apache.jasper.JasperException: /Index.jsp(9,2) Attribute name invalid for tag form 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:1198)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:819)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)




please help me out.


Thanks,
Shailaja
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Looks like you tried to use a "name" attribute in a tag that doesn't allow one. Without any source for the page that's actually causing the error, of course, it's up to you to read the log message which tells you precisely what's wrong:
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Exception while running struts-org.apache.jasper.JasperException: /index.jsp(30,6) Attribute name in
 
Similar Threads
JSTL, XML and XSL
how to use struts specific html taglib?
problem with the name attribute of form tag
Error: while running jsp on tomcat
Error in deploying struts: Attribute name invalid according to the specified TLD