Protecting JSP files in local tomcat instance.

From: Troy (troy_at_morpheus.net)
Date: 02/05/04

  • Next message: John: "SSL Communication - data sent but not received"
    Date: 5 Feb 2004 08:23:15 -0800
    
    

    Hello-

    I have an application running on Tomcat 4 that needs to be deployed to
    user laptops that are running both a tomcat server of their own as
    well as a database. The database is later synced with the main
    database. This is to allow the users to use the application without
    being connected to the internet, say at a client site etc.

    The problem this presents is that all the JSP code is available for
    the taking if any of these users decide to steal it. This is a
    concern so I want to deploy the application with only class files.
    I've used jspc to compile the JSPs into class files which are in
    WEB-INF/classes. However, the server still looks for the JSP files in
    the webapps/myapp directory and therefor it won't work without the JSP
    files. Is what I am proposing a possibility? What do I need to do to
    accomplish this? I can't find any help in the tomcat docmentation.
    Also, if this isn't going to work, is there any other way to protect
    JSP files from the user?

    Thanks!


  • Next message: John: "SSL Communication - data sent but not received"

    Relevant Pages

    • Re: Best practices JDBC JSP
      ... > I query an Oracle 9i database and present on the web using TomCat and JSP. ...
      (comp.lang.java.databases)
    • Re: Recompile jsp with java classes?
      ... > I created some java classes on a tomcat server. ... I don't want to put my source code in the tomcat space. ... to force recompiling JSP. ...
      (comp.lang.java.programmer)
    • Re: right place for questions about .jsp page errors?
      ... > (this is for a site running via tomcat + database) ... I don't know if this newsgroup is the best place for JSP ...
      (comp.lang.java.programmer)
    • Query related to JDBC connectivity to MS-SQL server 2000
      ... I'm running MS-SQL Server 2000 on a server with a database ... I'm trying to connect it with JSP using Tomcat 5.5.9 ...
      (comp.lang.java.help)
    • Re: Web Applikation mit Tomcat
      ... Ich habe auch das eclipse Tomcat Plugin installiert, ... Diese JSP werden dann unter der Haube zu Servlets kompiliert. ... Alternative dazu waere die Verwendung einer klassischen Template-Engine ... jedem Fall die in der View enthaltene Logik minimieren. ...
      (de.comp.lang.java)