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
posted 17 years ago
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