我试了一下,好像不可以啊,我的jsp文件夹名为:test, 我设置的domain目录为:C:\bea\user_projects\domains\mydomain\ 我把test文件夹放在C:\bea\user_projects 下 双击 C:\bea\user_projects\domains\mydomain\ 下的startWebLogic.cmd文件,运行Start Server 黑色窗口,我浏览器地址栏里输入http://localhost:7001/test/index.jsp,出现如下错误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.
请问大家应怎样改正?
放到C:\bea\user_projects\domains\mydomain\application\下, 服务器不要使用PRODUCT MODEL
例:放在d:/jspcode中(jspcode中需有web-inf文件夹,其中有web.xml文件),然后通过console配置,则放在jspcode中的jsp文件都可以发布。d;/jspcode/jsp1.jsp,启动weblogic,浏览器中输入 http://localhost:7001/jspcode/jsp1.jsp ok
crazy2die(疯狂到底) 请问在console应配置什么?怎样配置?
为什么我把我得工作目录test放在C:\bea\user_projects\domains\mydomain\application\下,但在浏览器地址栏里输入http://localhost:7001/test/index.jsp时页面报错了,错误信息如下: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.
请问大家这是咋回事啊?
进入console页面 Domain Configurations ----->Your Deployed Resources ----->Web Application Modules 点上面的 Deploy a new Web Application Module... 点上面的 找到路径就可以了 注意:该文件夹需包含web-inf文件夹,web-inf中有web.xml文件 web.xml文件可以复制过来 bea\weblogic81\samples\server\example\build\mainWinApp\web-inf\web.inf
我把test文件夹放在C:\bea\user_projects 下
双击 C:\bea\user_projects\domains\mydomain\ 下的startWebLogic.cmd文件,运行Start Server 黑色窗口,我浏览器地址栏里输入http://localhost:7001/test/index.jsp,出现如下错误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.
请问大家应怎样改正?
服务器不要使用PRODUCT MODEL
tomcat里,你配制一下server.xml就可以改变目录,或者自已在web-app下写一个xml文件。
并且它们都支持控制台来配制发布目录
请问怎样才能用浏览器看到自己发布的作品呢?
http://localhost:7001/jspcode/jsp1.jsp ok
请问在console应配置什么?怎样配置?
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.
请问大家这是咋回事啊?
Domain Configurations ----->Your Deployed Resources ----->Web Application Modules
点上面的
Deploy a new Web Application Module...
点上面的
找到路径就可以了
注意:该文件夹需包含web-inf文件夹,web-inf中有web.xml文件
web.xml文件可以复制过来
bea\weblogic81\samples\server\example\build\mainWinApp\web-inf\web.inf