首先要设置domain,成功后会创建一个目录user_projects,jsp站点可放在它的子目录下

解决方案 »

  1.   

    我试了一下,好像不可以啊,我的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.
     
    请问大家应怎样改正?
      

  2.   

    放到C:\bea\user_projects\domains\mydomain\application\下,
    服务器不要使用PRODUCT MODEL
      

  3.   

    不限的,你可以将你的JSP程序放在任何目录,但那个目录要包含WEB-INF目录以及web.xml文件,然后在console下布署你的应用,你可以选择这个目录进行布署就行了
      

  4.   

    tomcat和weblogic都一样,都可以配制到你想放的目录。
    tomcat里,你配制一下server.xml就可以改变目录,或者自已在web-app下写一个xml文件。
    并且它们都支持控制台来配制发布目录
      

  5.   

    放到C:\bea\user_projects\domains\mydomain\application\下,
    请问怎样才能用浏览器看到自己发布的作品呢?
      

  6.   

    例:放在d:/jspcode中(jspcode中需有web-inf文件夹,其中有web.xml文件),然后通过console配置,则放在jspcode中的jsp文件都可以发布。d;/jspcode/jsp1.jsp,启动weblogic,浏览器中输入
    http://localhost:7001/jspcode/jsp1.jsp        ok
      

  7.   

    crazy2die(疯狂到底)
       请问在console应配置什么?怎样配置?
      

  8.   

    为什么我把我得工作目录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.
     
    请问大家这是咋回事啊?
      

  9.   

    进入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
      

  10.   

    应该是bea\weblogic81\samples\server\example\build\mainWinApp\web-inf\web.xml