ate         2004/12/07 13:38:15

  Modified:    portal/src/java/org/apache/jetspeed/login LoginServlet.java
  Log:
  Fix a problem with  Mozilla 1.7.3 on Linux (using tomcat 4.1.27) as reported 
by Graeme Elsworthy,
  displaying the html form definition.
  
  Revision  Changes    Path
  1.3       +3 -2      
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginServlet.java
  
  Index: LoginServlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LoginServlet.java 14 May 2004 00:55:13 -0000      1.2
  +++ LoginServlet.java 7 Dec 2004 21:38:15 -0000       1.3
  @@ -48,8 +48,9 @@
               response.sendRedirect(response.encodeURL(destination));
           }
   
  +        response.setContentType("text/html");
  +        
           PrintWriter out = response.getWriter();
  -
           out.print("<html>");
           out.print("<body onLoad='document.forms[\"login\"].submit();'>");
           out.print("<form id='login' method='POST' action='"
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to