• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

jsp.error.attribute.noequal

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been working on an application for a week or so using Struts, and appreciating what it has to offer. I've hit a road block though, and after a few days, am no closer to having it solved than when I first came across it.
I assumed initially that I was mangling a tag of some sort, and started removing them to narrow it down. My JSP has nothing but pure HTML now, and I still get this error. It is:
org.apache.jasper.JasperException: /form/newModelType.jsp(7,16) jsp.error.attribute.noequal
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:417)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:169)
at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:136)
Inside the JSP work directory, this is the only JSP file with no content in its corresponding .java, and there is no .class (makes sense, if it can't compile).
Anyone have any ideas? Should I focus on the form bean, struts-config.xml, the calling action..... ??
I will very much appreciate any ideas or suggestions. Thank You,
Paul
 
Paul Woods
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've fixed the problem, though I'm still not sure what the root cause was. I had some JSP comments left in the file, and after removing those - I hadn't thought they'd make a difference before - the page loaded fine.
I've added back most of the original functionality, with no problems.
 
Clowns were never meant to be THAT big! We must destroy it with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic