Sunday, 15 May 2011

JSP compilers

We can compile a JSP manually.
The JSP compiler(JSPC) depends on the Web Container. Eg. take, BEA WebLogic Application Server.

  • goto DOS Shell and run "setEnv.cmd"
  • using cd command move to the JSP file directory.
  • run " java weblogic.jspc -keepgenerated JspOne.jsp "

Note : if " -keepgenerated " is not used on above command, the JSPCompiler removes the .java file which is generated by JSPC.

No comments:

Post a Comment