JavaScript is not Java. JSP is a Java technology.
Java is a programming language, a language you can write applications with, JavaScript is a scripting language often used for client-side scripting on webpages.
About having JavaScript "encode"[1] your page and SEO:
If you are storing your pages encoded and using JavaScript to decode them for the browser then it will probably hurt your rankings. Because most (all?) search enginge spiders don't understand javaScript they won't be able to read your site properly.
I wouldn't do it in any case. You won't be stopping anyone who really wants to see what your markup and css looks like with it. The only ones you would be stopping are total newbies.
[1] The so called encoding I've seen is often nothing more than using alternative encoding for normal characters, just like you see in many URLs (like
http://something/something%20something%20else/index.php).
Reply