默认不支持jsp,要配置weblogic.properties文件.

解决方案 »

  1.   

    WebLogic使用JSP的缺省端口是7001。你可以用http://host_ip:7001/your_jsp.jsp这样的格式来访问JSP
      

  2.   

    先安装JDK,然后配置weblogic.properties,大概是最后一段,要使weblogic知道到哪儿去找JAVA。
      

  3.   

    weblogic.properties中找到:# WEBLOGIC JSP PROPERTIES 
    # ------------------------------------------------ 
    # Sets up automatic page compilation for JSP. Adjust init args for 
    # directory locations and uncomment to use. 
    #weblogic.httpd.register.*.jsp=\ 
    #weblogic.servlet.JSPServlet 
    #weblogic.httpd.initArgs.*.jsp=\ 
    #pageCheckSeconds=1,\ 
    #compileCommand=c:/jdk1.2.1/bin/javac.exe, \ 
    #workingDir=/weblogic/myserver/classfiles, \ 
    #verbose=true 改为:
    # WEBLOGIC JSP PROPERTIES 
    # ------------------------------------------------ 
    # Sets up automatic page compilation for JSP. Adjust init args for 
    # directory locations and uncomment to use. 
    weblogic.httpd.register.*.jsp=\ 
    weblogic.servlet.JSPServlet 
    weblogic.httpd.initArgs.*.jsp=\ 
    pageCheckSeconds=1,\ 
    compileCommand=c:/jdk1.2.1/bin/javac.exe, \ 
    workingDir=/weblogic/myserver/classfiles, \ 
    verbose=true 
    其中,compileCommand和workingDir根据你JDK和weblogic的安装目录设置.最后运行weblogic/bin/下的wlconfig.exe设置Java_Home为你的JDK目录
      

  4.   

    我转贴的一篇文章
    http://www.csdn.net/develop/read_article.asp?id=7592
    详细介绍了weblogic的配置