java - Programmatically invoke the JSP parser -
i invoke jsp parser programmatically. means want able, in java, 'run' jsp page , output, without sending client (i want save output file). don't want 'forward' request jsp page. want able on several jsp pages in row. what best way of doing this? i have found question , balusc doesn't answer question directly. in case wondering, need because want 'precompile' jsps using on other platforms java servlet container. edit what need not .class file, html output. indeed, static once generated have custom jsp tags , want leverage jsp parser expand them. i'm not sure understand point of this. jsps parsed , precompiled .class files. they're java servlets @ point. need servlet engine execute them. if intent capture generated http response "precompiled" response, suggest there's no dynamic content , response same every time send particular request. if that's case, you've got static html. if i'm corre...