This sample runs in Weblogic 5.1 as a servlet.
1. Compile this file (make sure you have jdk1.2 installed or the
javax.servlet.* classes in your classpath).
2. Make sure the weblogic policy file allows native access. The easiest
way is to replace the contents with this:
grant codeBase "file:d:/weblogic/-" {
permission java.security.AllPermission;
};
grant codeBase "file:/c:/classes/-" {
permission java.security.AllPermission;
};
grant codeBase "file:${java.home}/lib/ext/-" {
permission java.security.AllPermission;
};
grant {
permission java.security.AllPermission;
};
3. Add the servlet to the weblogic.properties file:
weblogic.httpd.register.JacobScript=JacobScript
4. Either add your CLASSPATH to weblogic.classpath in startWebLogic.cmd
or copy the com directory into weblogic/myserver/servletclasses
5. Copy the jacob/samples/servlet/* into weblogic/myserver/servletclasses
6. Start weblogic
7. Type the url: http://localhost:7001/JacobScript into the browser
(If you run on port 7001)
8. Enter a VBScript expression like:
1+2
Now
"hello" & " world"
etc.
and watch the MS Script control (which you must have installed)
evaluate and return the result.
没有合适的资源?快使用搜索试试~ 我知道了~
Jacob jar word->htm 不丢失样式
共179个文件
class:44个
java:41个
h:15个
2星 需积分: 10 19 下载量 194 浏览量
2011-10-07
15:28:39
上传
评论
收藏 396KB ZIP 举报
温馨提示
将word 转换成html 不丢失table 等样式 让jsp 显示word 内容不是问题
资源推荐
资源详情
资源评论
收起资源包目录
Jacob jar word->htm 不丢失样式 (179个子文件)
MultiFace.aps 4KB
ScriptTest.bat 48B
MultiFace_p.c 14KB
MultiFace_i.c 1KB
dlldata.c 839B
Dispatch.class 15KB
Recordset.class 8KB
Variant.class 6KB
test.class 6KB
SafeArray.class 4KB
Connection.class 4KB
Command.class 3KB
Access.class 3KB
JacobScript.class 2KB
sa_test.class 2KB
safearray.class 2KB
ScriptTest2.class 2KB
Field.class 2KB
ScriptTest3.class 2KB
DispatchTest.class 2KB
test.class 2KB
testms.class 2KB
Outlook.class 2KB
IETest.class 2KB
ScriptTest.class 2KB
AppTest.class 2KB
IEEvents.class 2KB
sa_dispatch.class 2KB
math.class 1KB
ROT.class 1KB
EnumVariant.class 1KB
Fields.class 1KB
variant_test.class 1KB
MultiFace.class 1KB
ComThread.class 1KB
varSerTest.class 1KB
ComException.class 1KB
ActiveXComponent.class 1KB
STA.class 789B
DispatchEvents.class 752B
speed.class 735B
ComFailException.class 697B
DispatchProxy.class 554B
testEvents.class 542B
errEvents.class 517B
CommandTypeEnum.class 441B
JacobObject.class 349B
MainSTA.class 343B
WrongThreadException.class 316B
Math.cls 1KB
SafeArray.cpp 64KB
Variant.cpp 30KB
Dispatch.cpp 13KB
DispatchEvents.cpp 10KB
EventProxy.cpp 6KB
EnumVariant.cpp 4KB
DispatchProxy.cpp 4KB
util.cpp 3KB
STA.cpp 3KB
ComThread.cpp 2KB
MultiFace.cpp 2KB
StdAfx.cpp 2KB
Face.cpp 1KB
StdAfx.cpp 315B
MultiFaceps.def 251B
MultiFace.def 226B
jacob.dll 92KB
jacob.dll 92KB
MathTest.dll 24KB
MultiFace.dsp 13KB
jacob.dsp 5KB
MultiFace.dsw 541B
jacob.dsw 533B
jacob.exp 36KB
MathTest.exp 988B
foo.foo 80B
SafeArray.h 17KB
MultiFace.h 17KB
Variant.h 14KB
EventProxy.h 4KB
Face.h 2KB
Dispatch.h 1KB
StdAfx.h 999B
EnumVariant.h 956B
DispatchProxy.h 956B
StdAfx.h 908B
DispatchEvents.h 895B
ComThread.h 683B
STA.h 616B
resource.h 547B
util.h 329B
JacobThreading.html 14KB
WhatsNew.html 3KB
JacobComLifetime.html 3KB
AppTest.html 181B
MultiFace.idl 2KB
jacob.jar 17KB
Dispatch.java 20KB
Variant.java 10KB
SafeArray.java 9KB
共 179 条
- 1
- 2
资源评论
Exc_9521
- 粉丝: 3
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功