当前位置: 首页 > 图文教程 > 网络编程 > JSP > WebLogic的初步研究(1-2)

JSP
缓存JSP显示的内容
Bean和Servlet的企业应用
servlet会话
怎样从HttpServletRequest中得到完整的请求URL
Tips for Server-Side Redirection
利用Servlet的上下文环境和会话来实现聊天的程序
Servlet中如何捕获Session事件?
Servlet实现动态图文结合输出
如何在JSP中处理中文
使用JSP读取客户端信息
取代JSP--一种新的模版引擎Tea
Jsp最佳实践
如何用servlet在客户端生成一个合成图片
web.xml 常用结点说明[1]
Jsp最佳实践(2)
servlet中的几个路径有关的方法
JSP连接各类数据库大全(3)
JSP编程进度条设计实例(2)
用JSP操作Cookie(1)
ASP与JSP的比较(2)

JSP 中的 WebLogic的初步研究(1-2)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-04   浏览: 60 ::
收藏到网摘: n/a

设置运行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编译器的路径。