Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
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 Source code of org.apache.jasper.JasperException: /test.jsp(25,0)
/top.inc(49,18) Unterminated &lt;form:form tag
 [jasper2]     at
org.apache.jasper.compiler.DefaultErrorHandler Source code of org.apache.jasper.compiler.DefaultErrorHandler(DefaultErrorHand
ler.java:83)
 [jasper2]     at
org.apache.jasper.compiler.ErrorDispatcher Source code of org.apache.jasper.compiler.ErrorDispatcher(ErrorDispatcher.java
:402)
 [jasper2]     at
org.apache.jasper.compiler.ErrorDispatcher Source code of org.apache.jasper.compiler.ErrorDispatcher(ErrorDispatcher.java
:126)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:38
4)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:417)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:515)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:1577)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:1827)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:1100)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:1405)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:1598)
 [jasper2]     at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:171)
 [jasper2]     at
org.apache.jasper.compiler.ParserController Source code of org.apache.jasper.compiler.ParserController(ParserController.java:
247)
 [jasper2]     at
org.apache.jasper.compiler.ParserController Source code of org.apache.jasper.compiler.ParserController(ParserController.java:
149)
 [jasper2]     at
org.apache.jasper.compiler.ParserController Source code of org.apache.jasper.compiler.ParserController(ParserController.java:
135)
 [jasper2]     at
org.apache.jasper.compiler.Compiler Source code of org.apache.jasper.compiler.Compiler(Compiler.java:237)
 [jasper2]     at
org.apache.jasper.compiler.Compiler Source code of org.apache.jasper.compiler.Compiler(Compiler.java:456)
 [jasper2]     at org.apache.jasper.JspC Source code of org.apache.jasper.JspC(JspC.java:743)
 [jasper2]     at org.apache.jasper.JspC Source code of org.apache.jasper.JspC(JspC.java:896)
 [jasper2]     at java.lang.reflect.Method Source code of java.lang.reflect.Method(Native Method)
 [jasper2]     at
org.apache.tools.ant.TaskAdapter Source code of org.apache.tools.ant.TaskAdapter(TaskAdapter.java:147)
 [jasper2]     at
org.apache.tools.ant.UnknownElement Source code of org.apache.tools.ant.UnknownElement(UnknownElement.java:166)
 [jasper2]     at org.apache.tools.ant.Task Source code of org.apache.tools.ant.Task(Task.java:317)
 [jasper2]     at org.apache.tools.ant.Target Source code of org.apache.tools.ant.Target(Target.java:309)
 [jasper2]     at
org.apache.tools.ant.Target Source code of org.apache.tools.ant.Target(Target.java:334)
 [jasper2]     at
org.apache.tools.ant.Project Source code of org.apache.tools.ant.Project(Project.java:1306)
 [jasper2]     at
org.apache.tools.ant.Project Source code of org.apache.tools.ant.Project(Project.java:1250)
 [jasper2]     at org.apache.tools.ant.Main Source code of org.apache.tools.ant.Main(Main.java:610)
 [jasper2]     at org.apache.tools.ant.Main Source code of org.apache.tools.ant.Main(Main.java:196)
 [jasper2]     at org.apache.tools.ant.Main Source code of 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)




©2008 junlu.com - Jax Systems, LLC, U.S.A.