Juergen fixed it.

Eelco

Andrew de Torres wrote:

I've filed a bug report.

-Andy



---- On Fri, 29 Apr 2005, Andrew de Torres ([EMAIL PROTECTED])
wrote:



I have the following snippet in an HTML file. It is pretty


much


cut and pasted from the Java Web Start documentation. When I
view the HTML file directly, it works (at least in FireFox


with


JWS installed).  When I deploy to Tomcat, I get the exception
below.

<SCRIPT language="JavaScript">
//<![CDATA[ <!--
/* Note that the logic below always launches the JNLP
application
* if the browser is Gecko based. This is because it is not
possible
* to detect MIME type application/x-java-jnlp-file on
Gecko-based browsers.
*/
if (javawsInstalled || (navigator.userAgent.indexOf("Gecko")
!=-1)) {
   document.write("<a
href=http://localhost:8084/app.jnlp>Launch the
application</a>");
} else {
   document.write("Click ");
   document.write("<a



href=http://java.sun.com/PluginBrowserCheck?pass=http://localhost:8084/AutoInstallJRE.html&fail=http://java.sun.com/j2se/1.5.0/download.html>here</a>


");
   document.write("to download and install JRE 5.0 and the
application.");
}
//]]> -->
</SCRIPT>



wicket.markup.MarkupException:



c:\(omitted)\web\build\web\WEB-INF\classes\(omitted)\wicket\HomePage.html:


Tag '<script language="JavaScript">' (line 92, column 1) has a
mismatched close tag at '</a>' (line 99, column 82):
[Page class = (omitted).wicket.HomePage, id = 0]
   at



wicket.MarkupContainer.loadMarkupAndWatchForChanges(MarkupContainer.java:855)



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to