ADF运行jsp的时候出现 JSP scriptlets will not work properly if using OJSP
2016-04-26 16:58
501 查看
在JDeveloper工具中创建jsp页面,里面写了java代码,运行时就会出现JSP scriptlets will not work properly if using OJSP错误信息
解决方案是:
You need to either adapt your code to remove the scriptlets in yourJSP page,
or you can use the following Java option to disable OJSP:
在开发环境中进到C:\Oracle\Middleware\Jdevelopers\JDE111160\jdeveloper\ide\bin目录下编辑ide.conf文件添加如下内容
-Dadfvdt.disableOjspDeployment=true
在生产环境中进到weblogic目录找到startManagedWebLogic.sh或者setDomainEnv文件做如下修改
AddVMOption -Dadfvdt.disableOjspDeployment=true
出现问题的原因,可能是为了安全性屏蔽了此种方式。
You can add this option -Dadfvdt.disableOjspDeployment=true in yourfile "ide.conf" in the directory"<Middleware_Home>\jdeveloper\ide\bin"
For your Production environment, you can have your Managed WLSignoring the OJSP mode by adding the Java Option-Dadfvdt.disableOjspDeployment=true
* in the "startManagedWebLogic" (if you want to limit it to aspecific Managed Server)
* or "setDomainEnv" (for all managed servers in a domain).
解决方案是:
You need to either adapt your code to remove the scriptlets in yourJSP page,
or you can use the following Java option to disable OJSP:
在开发环境中进到C:\Oracle\Middleware\Jdevelopers\JDE111160\jdeveloper\ide\bin目录下编辑ide.conf文件添加如下内容
-Dadfvdt.disableOjspDeployment=true
在生产环境中进到weblogic目录找到startManagedWebLogic.sh或者setDomainEnv文件做如下修改
AddVMOption -Dadfvdt.disableOjspDeployment=true
出现问题的原因,可能是为了安全性屏蔽了此种方式。
You can add this option -Dadfvdt.disableOjspDeployment=true in yourfile "ide.conf" in the directory"<Middleware_Home>\jdeveloper\ide\bin"
For your Production environment, you can have your Managed WLSignoring the OJSP mode by adding the Java Option-Dadfvdt.disableOjspDeployment=true
* in the "startManagedWebLogic" (if you want to limit it to aspecific Managed Server)
* or "setDomainEnv" (for all managed servers in a domain).
相关文章推荐
- javascript实例——文本特效篇(包含3个小例子)
- JSR303数据校验
- javascript——base64
- JavaScript绑定事件的方法[3种]
- d3.js——集群图的绘制
- POST+JSON+XML
- JavaScript原型与原型链学习笔记
- Javascript模块化编程
- jsp页面之间用?传值
- javascript知识点记录(2)
- [javascript] 看知乎学习js闭包
- 发布项目,加入CRUD功能
- js修改浏览器url
- JS树-深度遍历和广度遍历
- javascript的this的三种使用方式
- JS二叉树的遍历(前序,中序,后序)
- 读书时间《JavaScript高级程序设计》五:DOM
- extremecomponents在web中的使用
- JavaScript基础
- Javascript 遍历DOM Tree