jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Javascript Encoder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Javascript Encoder" Watch "Javascript Encoder" New topic

Javascript Encoder

ram nagab

Joined: Dec 02, 2003
Posts: 25
Hi all

I want to encode javascript code which is coming in two forms

1 - embeded directly in JSP files.

2 - sparated in JS files but called from JSP files
could you please tell me if there is any encoder (either commercial or free) allows me to encode javascript code which is called from JSP file . I tried MS Encoder but it does not work out with JSP files.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Javascript does not have to be encoded - you can either embed it in the generated HTML page or include it from a separate file. Javascript is not "called" in a JSP, the JSP builds the Javascript into an HTML page.
I agree. Here's the link: http://aspose.com/file-tools
subject: Javascript Encoder
jQuery in Action, 3rd edition