5.0.5 uses *.html
5.0.6 uses *.tml
Cheers,
Nick.
Heck, Bob wrote:
Am I really this dense? I just can't get this to work.
Simple hello world Start.tml
Start.java in package described in web.xml
Using Tapestry 5.0.5
Try my local:8080/Start and get this
java.lang.IllegalStateException
No root element has been defined.
As a matter of fact, any Tapestry page, same error.
========================================================
web.xml settings
<context-param>
<param-name>tapestry.app-package</param-name>
<param-value>me.test.web.tapestry</param-value>
</context-param>
<filter>
<filter-name>app</filter-name>
<filter-class>org.apache.tapestry.TapestryFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>app</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
==========================================================
Start.tml in webapp (web root)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
Hello world. Start.
</body>
</html>
=======================================================
Start.java
package me.test.web.tapestry.pages;
public class Start {
public Start ()
{
}
}
======================================================
What can that error mean?
java.lang.IllegalStateException
No root element has been defined.?
Thanks
Bob Heck
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]