This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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