Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:WebLogic 8.1 如何设置default webapp?? [Re:wes109]
ditty

负资产小资

CJSDN高级会员


发贴: 1038
积分: 143
于 2003-08-05 13:12 user profilesend a private message to usersend email to dittysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
创建一个Enterprise Application: myapp(such as: [c:\myapp])
目录结构如下:
MyAPP
|_APP-INF/
|.|_lib/(用于存放在整个EnterpiseApplication中共享的类库[.jar])(可选)
|.|_classes/(用于存放在整个EnterpiseApplication中共享的类[.class])(可选)
|
|_META-INF/
..|.|_application.xml
..|.|_weblogic-application.xml(可选)
..|_mywebapp(或者为myapp.war)
...|_WEB-INF/
.....|_web.xml
.....|_weblogic.xml(可选)
.....|_lib/(用于存放在当前WebApplication中共享的类库[.jar])(可选)
.....|_classes/(用于存放在当前WebApplication中共享的类库[.class])(可选)

application.xml内容如下:
==========================
<?xml version=“1.0“ encoding=“UTF-8“?>
<!DOCTYPE application PUBLIC “-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN“
“http://java.sun.com/dtd/application_1_3.dtd“>
<application>
<display-name/>
<module>
<web>
<web-uri>mywebapp|或mywebapp.war</web-uri>
<context-root>/</context-root>
</web>
</module>
</application>
==========================
其中,context-root就是webapplication的相对路径,但是需要指出的是,当前domain的当前server中只能有一个web application的context-root被设为“/“,否则部署就会出现错误。



内忧外患的时代,洗心革面,阿咪豆腐~

话题树型展开
人气 标题 作者 字数 发贴时间
7953 WebLogic 8.1 如何设置default webapp?? wes109 141 2003-08-05 11:42
6999 Re:WebLogic 8.1 如何设置default webapp?? ditty 1028 2003-08-05 13:12
7044 Re:WebLogic 8.1 如何设置default webapp?? wes109 329 2003-08-06 15:40

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923