网友俱乐部 » » JSP教程 » WebLogic的初步研究(1-2)

2007-11-24 19:42 ljjk5
WebLogic的初步研究(1-2)

[table][tr][td]
[/td][/tr][/table][b]设置运行JSP:


[/b]# WEBLOGIC JSP PROPERTIES

# ------------------------------------------------

# Sets up automatic page compilation for JSP. Adjust init args for

# directory locations and uncomment to use.

#weblogic.httpd.register.*.jsp=\

#weblogic.servlet.JSPServlet

#weblogic.httpd.initArgs.*.jsp=\

#pageCheckSeconds=1,\

#compileCommand=c:/jdk1.2.1/bin/javac.exe, \

#workingDir=/weblogic/myserver/classfiles, \

#verbose=true


把那些注释删去,即改为


# WEBLOGIC JSP PROPERTIES

# ------------------------------------------------

# Sets up automatic page compilation for JSP. Adjust init args for

# directory locations and uncomment to use.

weblogic.httpd.register.*.jsp=\

weblogic.servlet.JSPServlet

weblogic.httpd.initArgs.*.jsp=\

pageCheckSeconds=1,\

compileCommand=c:/jdk1.2.1/bin/javac.exe, \

workingDir=/weblogic/myserver/classfiles, \

verbose=true

要注意的是还要配置好这一行:

compileCommand=/usr/local/jdk1.2/bin/javac, \

这是JDK的JAVA编译器的路径。

页: [1]
查看完整版本: WebLogic的初步研究(1-2)


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.