File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Hiding Source Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Hiding Source Code" Watch "Hiding Source Code" New topic

Hiding Source Code

Nitin Dubey
Ranch Hand

Joined: Oct 30, 2000
Posts: 126

Hi folks,
how do I hide the source code.
Anoop Krishnan
Ranch Hand

Joined: May 03, 2001
Posts: 163
Hai Nitin,
What source code ?Any way the surce codes of JSP,SERVLET will be hidden .Another thing you can hide is JAVASCRIPT
write your script in a text file save it with extension .js and add the following line in your html page
<SCRIPT src="../myscript.js"></SCRIPT>
The user can't see the script when he view the source of the page but if the user access your file directly with the url
like this he can download your script file

I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
I agree. Here's the link:
subject: Hiding Source Code
It's not a secret anymore!