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

您没有登录

» Java开发网 » Application Server » WebLogic  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Weblogic9部署好WebApplication后的URL问题。
stevendu





发贴: 230
积分: 22
于 2005-10-09 17:36 user profilesend a private message to usersend email to stevendusearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我这里有一个原先在Tomcat下运行的项目,现要转到Weblogic9下,部署好以后使用http://localhost:7001/myWeb/login.do就可以正常使用了,但是我想请问的是如何修改才能使用http://localhost:7001/login.do来访问?
项目中使用的struts。
谢谢。



><只有行动才能改变你想改变的><
作者 Re:Weblogic9部署好WebApplication后的URL问题。 [Re:stevendu]
weijiezhang





发贴: 10
积分: 0
于 2005-11-04 14:59 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Choice 1:
In weblogic.xml for your myWeb app, set context root to /:

<weblogic-web-app>
<context-root>/</context-root>
</weblogic-web-app>

myWeb is going to be the default web app for the server.

Choice 2:
<!-- web.xml entries -->
<servlet-mapping>
<servlet-name>login.do</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>

This will override the default weblogic.servlet.FileServlet


weijiezhang edited on 2005-11-09 06:21

作者 Re:Weblogic9部署好WebApplication后的URL问题。 [Re:stevendu]
kunge





发贴: 3
积分: 0
于 2006-01-16 11:39 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
学习了,谢谢。


作者 Re:Weblogic9部署好WebApplication后的URL问题。 [Re:stevendu]
yuxiongjian





发贴: 3
积分: 0
于 2006-02-13 13:41 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我在weblogic 新建了server 和 computer, 监听8000端口 ,可是怎么知道根目录是那个,现在不知道把jsp部署到那个目录下,url 应该怎么写呢 http://localhost:8000/???/...?/index.jsp


作者 Re:Weblogic9部署好WebApplication后的URL问题。 [Re:yuxiongjian]
YuLimin

简单就是美

版主


发贴: 866
积分: 123
于 2006-02-13 16:50 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
X:\BEA\user_projects\domains\mydomain\applications\下面找找


 当兵不后悔!后悔不当兵! 
超越黎明时空,追逐时代潮流!
人,是要靠自己的!简单就是美!
我的Java:http://www.Java2Class.net
我的Blog:http://YuLimin.ItEye.com
作者 Re:Weblogic9部署好WebApplication后的URL问题。 [Re:stevendu]
yuxiongjian





发贴: 3
积分: 0
于 2006-02-14 11:35 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
9.0 根本没有applications 目录


作者 Re:Weblogic9部署好WebApplication后的URL问题。 [Re:stevendu]
binge





发贴: 83
积分: 1
于 2006-03-15 14:45 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
9.0中改成了这个目录autodeploy



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