User: starksm 
  Date: 01/05/05 13:56:55

  Added:       src/resources/web index.html snoop.jsp
  Log:
  Resources for the web container integration tests
  
  Revision  Changes    Path
  1.1                  jbosstest/src/resources/web/index.html
  
  Index: index.html
  ===================================================================
  <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  <html>
  <head>
     <title>JBoss Servlet Container Integration Tests</title>
  </head>
        <h1>JBoss Servlet Container Integration Tests</h1>
        <h2>Servlet Tests</h2>
        <ul>
                <li><a href="/jbosstest/ENCServlet">Try the ENCServlet</a>
                A test of the servlet container integration into the JNDI namespace. 
This
                servlet accesses the java:comp/env namespace for JDBC 
javax.sql.DataSources,
                JMS QueueConnectionFactory, 
                        
                </li>
                <li><a href="/jbosstest/EJBServlet">Try the EJBServlet</a>
                A test of the ability to access EJBs from a servlet using the
                ejb-ref tag in web.xml and jboss-web.xml.
                </li>
        </ul>
  
        <h2>JSP Tests</h2>
        <ul>
                <li><a href="/jbosstest/snoop.jsp">Try snoop.jsp</a>
                A basic test of a JSP page.
                </li>
        </ul>
  
        <h2>Security Tests</h2>
        <ul>
                <li><a href="/jbosstest/restricted/SecureServlet">Try SecureServlet</a>
                A test of securing servlet content using the JBoss JAAS authentication 
layer.
                </li>
  
                <li><a href="/jbosstest/restricted/SecureEJBAccess">Try 
SecureEJBAccess</a>
                A test of securing servlet content using the JBoss JAAS authentication 
layer
                as well as propagation of the servlet container identity to a secure 
EJB.
                </li>
        </ul>
  </body>
  </html>
  
  
  
  1.1                  jbosstest/src/resources/web/snoop.jsp
  
  Index: snoop.jsp
  ===================================================================
  <html>
  <!--
    Copyright (c) 1999 The Apache Software Foundation.  All rights 
    reserved.
  -->
  
  <body bgcolor="white">
  <h1> Request Information </h1>
  <font size="4">
  JSP Request Method: <%= request.getMethod() %>
  <br>
  Request URI: <%= request.getRequestURI() %>
  <br>
  Request Protocol: <%= request.getProtocol() %>
  <br>
  Servlet path: <%= request.getServletPath() %>
  <br>
  Path info: <%= request.getPathInfo() %>
  <br>
  Path translated: <%= request.getPathTranslated() %>
  <br>
  Query string: <%= request.getQueryString() %>
  <br>
  Content length: <%= request.getContentLength() %>
  <br>
  Content type: <%= request.getContentType() %>
  <br>
  Server name: <%= request.getServerName() %>
  <br>
  Server port: <%= request.getServerPort() %>
  <br>
  Remote user: <%= request.getRemoteUser() %>
  <br>
  Remote address: <%= request.getRemoteAddr() %>
  <br>
  Remote host: <%= request.getRemoteHost() %>
  <br>
  Authorization scheme: <%= request.getAuthType() %> 
  <br>
  Locale: <%= request.getLocale() %>
  <hr>
  The browser you are using is <%= request.getHeader("User-Agent") %>
  <hr>
  </font>
  </body>
  </html>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to