这不是配置的问题,test.jsp<%...%>里是java代码吧,你这里所用到的类一般是放在war/WEB-INF/classes下面的
你说不能显示是什么意思啊?是出错,没找到吧

解决方案 »

  1.   

    没有任何错误:test.jsp:
    <HTML>
    <HEAD><TITLE>Hello</TITLE></HEAD>
    <BODY>
    <B>Hello from the WebSphere Application Server!</B>
    <HR>
    <FONT size=-1 face=arial>
    <I><BR>This servlet demonstrates the ability to develop a Pervasive Computing solution using the 
    <I><BR>WebSphere Application Server. It can be called from any of the following types of clients: 
    <%
    out.println("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$");
    %>
    </FONT>
    </BODY>
    </HTML>在浏览器中打开查看源文件与上面代码相同:
    <HTML>
    <HEAD><TITLE>Hello</TITLE></HEAD>
    <BODY>
    <B>Hello from the WebSphere Application Server!</B>
    <HR>
    <FONT size=-1 face=arial>
    <I><BR>This servlet demonstrates the ability to develop a Pervasive Computing solution using the 
    <I><BR>WebSphere Application Server. It can be called from any of the following types of clients: 
    <%
    out.println("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$");
    %>
    </FONT>
    </BODY>
    </HTML>
    也就时说:
    <%
    out.println("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$");
    %>
    没有编译执行;可能websphere 应用服务器与http服务器没有配置好。
      

  2.   

    哦,这个问题也碰到过,但后来也没改什么,重启了几次服务就好了,也不知道是什么原因,http server到不用做特别的配置不知道其他人有没有碰到类似情况
      

  3.   

    既然html的可以,就不会是web server的问题