tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: Embedding JSP code in a JS file
Date Fri, 12 Sep 2003 14:37:06 GMT
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,

View raw message