Sorry :)

*************** INDEX.JSP START ***************
<%@ page language="java"
         import="java.io.*, com.jcafeinc.xml.*"
%>
<%@ include file="global-header.jsp" %>
<%
    application.setAttribute("imgLocation", "/LMS/images/");
%>
  <html>
    <head>
      <title>JCafe Learning Center</title>
    </head>
    <frameset rows="172,*" frameborder="no" border="0"> <!-- 1st chg
rows="130, *" 2nd chg rows="138,*" for root-org.gif image-->
      <frame src="signature-header.jsp" name="jcSignatureHeaderFrame"
marginheight="0" 
                  marginwidth="0" scrolling="no">
      <!-- Got to get the current role and check to see if it is isAnyAdmin
-->            
<% if (currentUser.isCurrentRoleRoot() || 
       currentUser.isCurrentRoleAdmin() ||
       currentUser.isCurrentRoleManager() )
   { 
      String adminBaseOU = currentUser.getManagerOrganization();
   %>
      <frame
src="plugin/control-panel/adminCatalog.jsp?currentOu=<%=adminBaseOU%>&curren
tTab=ou" name="jcHomePageFrame" marginheight="0" 
                  marginwidth="0" scrollbars="yes" scrolling="auto">
<% } else { %>
      <frame src="plugin/profile-manager/student-self-homepage.jsp"
name="jcHomePageFrame" marginheight="0" 
                  marginwidth="0" scrollbars="yes" scrolling="auto">
<% } %>
    </frameset>
  </html>
*************** INDEX.JSP END ***************

*************** JCAFE-ERROR.JSP START ***************
<%@ page language="java"  
         info="JCafe Error Page" isErrorPage="true" %>
<%@ page import="java.io.*" %>
<%--
session="false" isThreadSafe="false"
--%>

<html>
  <head>
    <title>JCafe Error Page</title>
    <meta content="">
    <script language="javascript">
    </script>
    <style>
    </style>
  </head>
  <body>
    <p><br/>
      Your user ID or password are incorrect. <br/>
      Please try again or contact your system <br/>
      administrator or manager. 
      <!--a href="admin/setup.jsp"--><!--/a-->
    </p>
  </body>
</html>
*************** JCAFE-ERROR.JSP START ***************

Thanks!
Kevin


-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 10:00 AM
To: Tomcat Users List
Subject: RE: Customizing 401 Error Page (this should be easy)


Howdy,
Attachments don't often come through -- I don't know if it's the
listserver or my company mail server.  You have to post them inline
(preferably trimming out anything nonessential to the problem).

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Kevin Ritter [mailto:[EMAIL PROTECTED]
>Sent: Friday, June 13, 2003 10:59 AM
>To: 'Tomcat Users List'
>Subject: RE: Customizing 401 Error Page (this should be easy)
>
>Okay here you go. I've also included the custom error page JSP.
>
>Good luck.
>Kevin
>
>-----Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, June 13, 2003 9:51 AM
>To: Tomcat Users List
>Subject: RE: Customizing 401 Error Page (this should be easy)
>
>
>Howdy,
>I personally can't help much more without seeing index.jsp.
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-----Original Message-----
>>From: Kevin Ritter [mailto:[EMAIL PROTECTED]
>>Sent: Friday, June 13, 2003 10:53 AM
>>To: 'Tomcat Users List'
>>Subject: RE: Customizing 401 Error Page (this should be easy)
>>
>>Thanks for staying with me; however, after I deleted all temporary
>internet
>>files and repeated the test the only entry in the log is what I
>reported
>>last time, which is:
>>
>>127.0.0.1 - - [13/Jun/2003:09:42:55 -0600] "GET /LMS/index.jsp
>HTTP/1.1"
>>200
>>428
>>
>>Any other suggestions? Am I implementing this correctly?
>>
>>Once again thank you in advance
>>Kevin
>>
>>-----Original Message-----
>>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>>Sent: Friday, June 13, 2003 9:40 AM
>>To: Tomcat Users List
>>Subject: RE: Customizing 401 Error Page (this should be easy)
>>
>>
>>Howdy,
>>
>>>Here's the only entry in the log:
>>>127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp
>>HTTP/1.1"
>>>200
>>>428
>>
>>Clean your browser's cache and repeat the test.  The above shows the
>>index.jsp was requested and returned without a problem.
>>
>>>If I remove the error-page element from the web.xml file everything
>>works
>>>fine. I was hoping to use my own custom error page for 401 errors
when
>>a
>>>user of my application forgets his userId/password or clicks Cancel
>>form
>>>the Authentication login dialog. Also, I have debug set at 99.
>>
>>How are you handling the cancel in the login dialog or the wrong
>>password?  Redirect?  Forward?  Set response code to 401?
>>
>>If you can post your index.jsp code, we could probably help more...
>>
>>Yoav Shapira
>>
>>
>>
>>This e-mail, including any attachments, is a confidential business
>>communication, and may contain information that is confidential,
>>proprietary
>>and/or privileged.  This e-mail is intended only for the individual(s)
>to
>>whom it is addressed, and may not be saved, copied, printed, disclosed
>or
>>used by anyone else.  If you are not the(an) intended recipient,
please
>>immediately delete this e-mail from your computer system and notify
the
>>sender.  Thank you.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary
>and/or privileged.  This e-mail is intended only for the individual(s)
to
>whom it is addressed, and may not be saved, copied, printed, disclosed
or
>used by anyone else.  If you are not the(an) intended recipient, please
>immediately delete this e-mail from your computer system and notify the
>sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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

Reply via email to