命令行方式下怎么用weblogic的jsp编译器
我装的是6。1,看帮助说
JSP Compiler Syntax
The JSP compiler works in much the same way that other WebLogic compilers work (including the RMI and EJB compilers). To start the JSP compiler, enter the following command.
$ java weblogic.jspc -options fileName
Replace fileName with the name of the JSP file that you want to compile. You can specify any options before or after the target fileName. The following example uses the -d option to compile myFile.jsp into the destination directory, weblogic/classes:
$ java weblogic.jspc -d /weblogic/classes myFile.jsp
Note: If you are precompiling JSPs that are part of a Web Application and that reference resources in the Web Application (such as a JSP tag library), you must use the -webapp flag to specify the location of the Web Application. The -webapp flag is described in the following listing of JSP compiler options.
不知道webllogic.jspc 是什么啊?
而且我也不能执行,报如下错误
D:\>java weblogic.jspc -d d:\weblogic\frm_port_ed.jsp
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/jspc