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

JSP source code security

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have an application which is developed under JSP and i need to install that at the clients place. But the client may use my source code (jsp files) and install it at some other place also.
So how do i provide security to my source code.
Since JSPs are compiled into servlets, is it possible that i install the servlets at the clients place and operate my application.
Any solutions...
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
It depends on your application server. Some app servers (like WebSphere) do allow precompilation of JSP files. Others don't.
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at for other WebSphere information.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: JSP source code security
It's not a secret anymore!