Saturday, November 8, 2008

JSP Compiler

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

1.goto DOS Shell and run "setEnv.cmd"
2.using cd command move to the JSP file directory.
3.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: