help with JSP

Discussion in 'OT Technology' started by D1G1T4L, May 3, 2003.

  1. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
    Code:
    <html>
    <head>
    <basefont face="Arial">
    </head>
    <body>
    <%@ page import="java.util.*" %>
    <% 
    
    //out.println("<table>");
    Enumeration headerNames = request.getHeaderNames();
        while(headerNames.hasMoreElements()) 
        {
          String headerName = (String)headerNames.nextElement();
          out.println("  " + headerName);
          out.println("  " + request.getHeader(headerName));
          //out.println("</td></tr>");
        }
    
    //out.println("</table>");
    
    %>
    </body>
    </html>
    
    anyone know why this doesnt display anything at all? all i get is a blank page
     
  2. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
    i found something interesting


    i am using ORION server

    is there any other way to print out all the headers?
     
  3. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
  4. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
  5. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    Did you ever try a different server like I suggested? I know you're an Orion nazi, but if it works on a different server, you'll know where the problem lies. If it still doesn't work, you'll know you need to code it a different way. We call this trial and error. :)
     

Share This Page