命令行方式下怎么用weblogic的jsp编译器

pyl2001 2002-06-11 09:03:27
我装的是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
...全文
42 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
aswill 2002-06-12
  • 打赏
  • 举报
回复
就是手工编译jsp成为servlet的工具,在执行前运行一下mydomain下的setenv

1,236

社区成员

发帖
与我相关
我的任务
社区描述
企业软件 中间件技术
社区管理员
  • 中间件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧