tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject WML Generation from JSP broken!!!!
Date Thu, 30 Nov 2000 01:07:52 GMT
Hi all,
Attached is a JSP Sample file which generates WML. It works with no problems on Tomcat3.1,
but
fails miserably with the latest dev nightly snapshot and m4. Can someone shed light? 

Thanks in advance,
dims

PS: Am not currently subscribed to the list. So please CC me at "dims@yahoo.com"

===================== Begin Stack Trace =========================
org.apache.jasper.compiler.ParseException:
D:\jakarta-tomcat-4.0\bin\..\webapps\examples\jsp\datewml.jsp(4,-1) Document root element
is
missing.
	at org.apache.jasper.compiler.ParserXJspSax.parse(ParserXJspSax.java:194)
	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:166)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:193)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:464)
	at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:435)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:156)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:168)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:393)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:177)
	at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:443)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2014)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:807)
	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:886)
	at java.lang.Thread.run(Thread.java:484)
===================== End Stack Trace =========================


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
Mime
View raw message