  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Problem with 5.0.16. struts and @include | Problem with 5.0.16. struts and @include 2003-12-09 - By Grant Goodale
Back Hello,
I'm attempting to upgrade a tomcat 3.3 instance to 5.0.16. However, I have a page that exhibited no problems under 3.3 that now won't compile. The jsp looks something like:
<%@ include file="top.inc" %> <%@ include file="middle.inc" %> <%@ include file="bottom.inc" %>
... some html and struts stuff here ...
</form:form> </html>
top.inc contains the page directive, a number of taglib directives and the opening struts <form:form> element. When I attempt to compile this page, I receive the error listed below. Neither of the other two include files contains a form:form tag, so I don't believe it's a true mismatch. The error implies that @(protected) files must be self-contained - I can't split tags across include file boundaries. Is this true?
Regards, Grant Goodale grant@(protected)
========================================== [jasper2] - ERROR-the file '/test.jsp' generated the following general exception: [jasper2] org.apache.jasper.JasperException : /test.jsp(25,0) /top.inc(49,18) Unterminated <form:form tag [jasper2] at org.apache.jasper.compiler.DefaultErrorHandler (DefaultErrorHand ler.java:83) [jasper2] at org.apache.jasper.compiler.ErrorDispatcher (ErrorDispatcher.java :402) [jasper2] at org.apache.jasper.compiler.ErrorDispatcher (ErrorDispatcher.java :126) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:38 4) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:417) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:515) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:1577) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:1827) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:1100) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:1405) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:1598) [jasper2] at org.apache.jasper.compiler.Parser (Parser.java:171) [jasper2] at org.apache.jasper.compiler.ParserController (ParserController.java: 247) [jasper2] at org.apache.jasper.compiler.ParserController (ParserController.java: 149) [jasper2] at org.apache.jasper.compiler.ParserController (ParserController.java: 135) [jasper2] at org.apache.jasper.compiler.Compiler (Compiler.java:237) [jasper2] at org.apache.jasper.compiler.Compiler (Compiler.java:456) [jasper2] at org.apache.jasper.JspC (JspC.java:743) [jasper2] at org.apache.jasper.JspC (JspC.java:896) [jasper2] at java.lang.reflect.Method (Native Method) [jasper2] at org.apache.tools.ant.TaskAdapter (TaskAdapter.java:147) [jasper2] at org.apache.tools.ant.UnknownElement (UnknownElement.java:166) [jasper2] at org.apache.tools.ant.Task (Task.java:317) [jasper2] at org.apache.tools.ant.Target (Target.java:309) [jasper2] at org.apache.tools.ant.Target (Target.java:334) [jasper2] at org.apache.tools.ant.Project (Project.java:1306) [jasper2] at org.apache.tools.ant.Project (Project.java:1250) [jasper2] at org.apache.tools.ant.Main (Main.java:610) [jasper2] at org.apache.tools.ant.Main (Main.java:196) [jasper2] at org.apache.tools.ant.Main (Main.java:235)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |