Well, the problem is that I am shipping my application and I don't want my JSPs to be readable.
I know people may decompile, but that makes their life a little more complicated.
Also, since jsp can be directly translated to a servlet (i.e. javax.servlet.*) then there has to be a "clean" convertor or compiler out there (or at least I hope :().
Guy.
Main Topics
Browse All Topics





by: bloodredsunPosted on 2006-02-27 at 09:23:23ID: 16056850
How are you pre-compiling them? Are you using Ant?
javaworld/ jw-07-2003 /jw-0725- m orejsp-p4. html) so the only way you can create an application server-neutral war file would be to not use JSP compilation but include the basic jsps. This is because the JSP spec does not give any details in how pre-compilation should be done, which has allowed vendors to use their own implementations.
e=true" which will cause the page to be compiled but not executed. Not ideal but a possiblity.
I have a nasty feeling that while major application servers support pre-compilation of JSPs, they do so in a proprietry manner (http://www.javaworld.com/
You could also write a bot that could go through your site and request the JSPs with the precompilation parameter "example.jsp?jsp_precompil