That's a very interesting point you're raising; generating documentation about JSPs is not easy.
How are you doing it? Inserting javadoc-like comments in a scriptlet in the JSP, then running JSPC and then Javadoc on the generated class? Or do you have your own JSP parser for that? Tiles is really not assembling these pages before runtime. I can think of a solution by running Tiles 3 offline with a new renderer (to be developped) for JSPs that would generate the documentation. You would need a new autotag implementation, too. That's quite a lot of work, but it would be interesting. On 12-09-26 04:22 AM, Łukasz Uruski wrote: > Thanks Nick for the tip, but I do need these pages before runtime. > > My goal is not to increase performance (at least in this case), but to > generate documentation and as such I need them assembled earlier. > >> Hello, >> >> There is no need for the first step actually. Tiles assembles the pages >> at runtime, after the JSPs have been compiled. >> >> Just skip the first step, the second step will provide you with optimal >> perfomance by itself. >> >> Hope this helps, >> Nick >> >> On 12-09-25 10:37 AM, Łukasz Uruski wrote: >>> Hello >>> Would like to precompile pages in project where tiles and jspx are >>> being used. Anybody tried that ? >>> >>> I was thinking about the following scenario: >>> 1. assemble complete pages (preferably with some maven plugin) >>> 2. use jspc-maven-plugin<http://mojo.codehaus.org/jspc-maven-plugin/> >>> and precompile pages >>> >>> ,but couldn't achieve first step. Any ideas ? >>> >>> thanks >>> Lukas >>> >> > >
