WebLogic的初步研究(1-2)
發表于:2007-07-14來源:作者:點擊數:
標簽:
設置運行JSP: # WEBLOGIC JSP PROPERTIES # ------------------------------------------------ # Sets up automatic page compilation for JSP. Adjust init args for # directory locations and uncomment to use. #weblogic.httpd.register.*.jsp=\ #web
設置運行JSP:
# 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編譯器的路徑。
原文轉自:http://www.anti-gravitydesign.com