tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject RE: want to preporcess javascript files
Date Thu, 28 Dec 2000 16:34:23 GMT
On 12/28/2000 at 9:27 AM Tim Cronin wrote:
> This works fine in IE. but causes Netscape to hang. 

What's the simplest example that causes Netscape to hang?

Is this the sort of thing you're doing?

<SCRIPT src="helloworld.js"></SCRIPT>
<H1>Hello World from HTML</H1>
<% out.println("<H1>Hello World from JSP</H1>"); %>

function HelloWorld() {
  document.write('<H1>Hello World from Javascript</H1>')

*********** REPLY SEPARATOR  ***********

-----Original Message-----
From: Tim Cronin []
Sent: Wednesday, December 27, 2000 23:17
To: ''
Cc: Paul Lange; Frank Livaudais; Rex Staples
Subject: want to preporcess javascript files

I was initially using jsp files to contain javascript. This way I could
have them documented and keep revision history in them for development
then have the commenst stripped out when they were deployed to clients.

This works fine in IE. but causes Netscape to hang. I tryed to change
them back to js and add a handler to preprocess these files as well
but could not get it to work.

Any solutions?

View raw message