1 Reply Latest reply on Sep 11, 2006 11:57 AM by Peter Johnson


    John Nguyen Newbie

      I am currently trying to obfuscate my project using KlassMaster and deploy it to JBoss. However, my project contain some jsp file and obfuscation only work with .class file. Therefore, I took the compiled .class file of the jsp, obfuscate it and put it back to jboss-4.0.2/server/all/work/jboss.web/localhost. I am wondering if there is any configuration that I can set so that JBoss will not compile the jsp and just use the .class file that I pasted inside localhost?

      Thanks in advance for your help!

        • 1. Re: Obfuscate
          Peter Johnson Master

          I think what you want to do is precompile the JSPs. Basically, you precompile the JSPs and obfuscate them. Package the resulting class files in the same war file with the rest of the classes of the application (I think you omit the JSPs - don't place then in the war file). Deploy the war to JBoss. Google "precompiled jsps jboss" and you will get a lot of hits and more detailed instructions.