有一个default目录,它底下是一些应用之类的文件夹,放到那底下就可以了,我有好久没搞了,抱歉

解决方案 »

  1.   

    配置一个domain,下面有defaultWebApp,就放在这个目录下
      

  2.   

    servlet放在defaultWebApp---WEB-INF-CLASSES目录下
    没有?自己建一个
      

  3.   

    linux下,在applications新建了一个HelloServlet目录,下面有WEB-INF\classes\HelloServlet.java和HelloServlet.class,用jar -cvf HelloServlet.war *,放在applications,访问http://10.1.1.1:7001/HelloServlet出现: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
     
    window下没有问题。
      

  4.   

    推荐去买一本书名:J2EE应用与BEA WebLogic Server 
    http://www.china-pub.com/computers/common/info.asp?id=6069