tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anson Zeall <>
Subject RE: Embedding JSP code in a JS file
Date Fri, 12 Sep 2003 14:56:57 GMT
'cause problem right now is......I tried dumping the js file code...into
my jsp file......and put in the encodeURL.....and when I click on the
click via the says my redirect for the URL has exceeded.
Dunno what that means..


-----Original Message-----
From: Tim Funk []
Sent: Saturday, September 13, 2003 12:37 AM
To: Tomcat Users List
Subject: Re: Embedding JSP code in a JS file

Rename the js file to jsp then update your link to pull in the jsp file
accordingly. (You may have to do a mime-type set too)


Anson Zeall wrote:

> HI,
>     I want to know if anyone knows how to embed JSP code in JS files?
> 'cause I want to use encodeURL inside the JS file....somehow.
> Regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message