JSP Source Code

I have coded my programs using JSP and HTMl tags.I want a way to protect my .jsp files so that the source code is not misused.Is there any way to encrypt my .jsp files just like how servlet files are compiled into .class files?
[248 byte] By [vijayneeds] at [2007-9-26 1:55:55]
# 1
JSP Code will be converted to a java file and then compiled to a class. Only the output of the servlet class will reach the client, so that the user can not see your code. Don't mistake JSP with JavaScript, wich runs on the client browser.
elsni at 2007-6-29 3:10:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi !Yeah what stephan has written is absolutely true...since jsp is at server side scripting hence it no way reaches the client like the souce is viewed for java sceript which is a client side scripting lang.
rohit29 at 2007-6-29 3:10:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Hi all

Reading this discussion I wondered if somebody have tried to obfuscate servlets generated from jsp. And how could it be made automaticaly, at least for specific servers. Is there significant performance boost, etc...

Hope it would be an interesting discussion.

Cheffo

cheffo at 2007-6-29 3:10:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

well i guess i wasnt that clear the last time...Its quite obvious for a jsp written to be first converted to servlets....as a .java file which is compiled at the run time & converted into a .class file which is run actually...there is no way that the source code can be viewed by the users of the clients....

rohit29 at 2007-6-29 3:10:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...