wood burning stoves 2.0*
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
Author

Javascript Encoder

ram nagab
Greenhorn

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.
thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
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.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript Encoder