Reputation: 21
We have done a COLLEGE MANAGEMENT PROJECT in JSP using TOMCAT webserver.But,we panicked that some users at that college may stole the programming code.But we are unable to set our password to the system, because it is used by many faculty in that college. How can i hide my actual code ? Can anyone help me..please..
Upvotes: 2
Views: 691
Reputation: 48067
If you're doing all your business level programming in JSP: Don't worry, nobody will want to have it, other than as an example of how to not do it.
JSPs in tomcat's webapps folder are compiled and delivered as HTML to the browser. All your code will be gone anyway, replaced by the actual HTML code that it's supposed to generate.
And if you don't want them to be able to be requested directly (e.g. http://www.example.com/showSomething.jsp) you can put them into your WEB-INF folder, but you'll have to do some request forwarding internally. How to do this is beyond this simple answer as you don't give any indication of the frameworks that you're using.
Upvotes: 2