Topic: WebLogic中如何直接运行JSP文档?

  Print this page

1.WebLogic中如何直接运行JSP文档? Copy to clipboard
Posted by: lonelyblackwolf
Posted on: 2003-06-18 18:26

我新建了一个domain,该怎样做才可以访问我写的JSP文档???谢谢~

2.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: struggle
Posted on: 2003-06-18 19:10

不知你用过TOMCAT没有。如果有的话那就方便多了。
F:\bea\user_projects\mydomain\applications\DefaultWebApp
(F:\bea为你的WEBLOGIC安装目录)
和tomcat中的webapps目录一样!

3.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: lonelyblackwolf
Posted on: 2003-06-18 22:29

需要配置吗?还是只是把JSP文件直接放在这个目录下就可以?

4.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: 牛老板
Posted on: 2003-06-18 22:33

XXXXX:\bea\server01\mydomain\applications=XXX:\tomcat\webapps

5.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: struggle
Posted on: 2003-06-19 11:25

牛老板
是对的,偶的有点不太对!

6.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: lonelyblackwolf
Posted on: 2003-06-19 22:50

知道如何了。谢谢~

7.Re:WebLogic中如何直接运行JSP文档? [Re: struggle] Copy to clipboard
Posted by: robin
Posted on: 2003-07-02 09:39

struggle wrote:
不知你用过TOMCAT没有。如果有的话那就方便多了。
F:\bea\user_projects\mydomain\applications\DefaultWebApp
(F:\bea为你的WEBLOGIC安装目录)
和tomcat中的webapps目录一样!


你可以把你的webapplication打成war包然后用deploy到你的appserver上就可以了。

8.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: jbwang
Posted on: 2003-07-03 18:35

还可以在weblogic中指定一个目录呢!(不一定要在那个bea的目录下)
任意目录,通过console可以配置(建议这么配置)。

(相应的xml,我也不知道怎么写了。很长一段时间都是用oc4j的了)

9.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: joechl
Posted on: 2003-07-09 19:45

用哪个端口?

10.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: williams
Posted on: 2003-07-15 15:18

举个简单的例子来说:我要运行test.jsp这个文件,我应当具体怎么做,应当把这个文件放在哪儿?访问时的地址又输什么???谢谢!!!
我是个菜鸟,不知道怎么做啊,人家说要配置weblogic.properties 但根本找不到这个文件,搜索也搜不到!!!急!!!

11.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: yasan
Posted on: 2003-07-20 16:59

1、首先你的文件一定要放在DefaultWebApp目录底下
2、开weblogic服务
3、ie 地址栏输入: http://127.0.0.1:7001/test.jsp

ok了

12.Re:WebLogic中如何直接运行JSP文档? [Re: yasan] Copy to clipboard
Posted by: nothing
Posted on: 2003-07-20 17:52

布署的 D:\bea\user_projects\domains\mydomain\applications\logon.war

被解开到D:\bea\user_projects\domains\mydomain\myserver\stage\_appsdir_logon_war目录下.

13.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: ppp5
Posted on: 2003-08-30 12:50

Hi! I also need help for weblogic 8.1.

I put one file called test1.jsp under

C:\bea\user_projects\domains\mydomain1\applications

directory, then I open the url:

http://localhost:7201/test1.jsp

I got an error message as following:

Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

I don't know why.

Thanks.

14.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: agilechen
Posted on: 2003-09-02 21:47

Please new a jsp file like below and put it to applications\DefaultWebApp folder.

test.jsp

<%="jSP test"%>

please type the http://hostname:7001/test.jsp in brower.

It will display "JSP test"

15.Re:WebLogic中如何直接运行JSP文档? [Re: lonelyblackwolf] Copy to clipboard
Posted by: williams
Posted on: 2003-09-03 18:52

在wl8.1中是没有DefaultWebApp的!!
要自己去做一个!!!!
dev2dev.bea.com.cn
是wl的中文官方网站,里面有好多的东东的!!!
强烈推荐初学者去看看!!!


   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