RE: Problem with error-page

2004-05-21 Thread Frank T. Murphy

Could be the size of the generated page.  Check the thread I started about
the different problem with the error-page.   In order for IE not to hijack
it it s/b bigger than 500k.

see this url

http://www.404-error-page.com/404-error-page-too-short-problem-microsoft-ie.shtml


|-+
| |   Jim Kennedy|
| |   [EMAIL PROTECTED]|
| |   ring.com|
| ||
| |   05/21/2004 12:30 |
| |   PM   |
| |   Please respond to|
| |   Tomcat Users|
| |   List|
| ||
|-+
  
---|
  |
   |
  |   To:   'Tomcat Users List' [EMAIL PROTECTED]  
  |
  |   cc:  
   |
  |   Subject:  RE: Problem with error-page
   |
  
---|




The suggestion to change 403.jsp to something like _403.jsp did not work.
I
did however change my browser setting in the advanced section concerning
friendly error messages.  This did work.  I still don't understand why
the
IE browser distinguishes between an HTML error page and a JSP error page.
The browser, it would seem to me, would not be aware of that.

Here's the first message again:

 I am trying to configure a custom error page when users try to access an
area of my site that they don't have sufficient rights to access.

The book says this to configure this in web.xml:

 error-page
 error-code403/error-code
 location/error/403.jsp/location
 /error-page

This doesn't work for me, but

 error-page
 error-code403/error-code
 location/error/403.html/location
 /error-page

Does work.  Is there a problem with using JSP's.


I'm am using JBOSS with Tomcat, but that shouldn't matter.  It's still the
Tomcat engine.  I'm also using Struts.

I'm using Tomcat 4.1.24.

-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 5:32 PM
To: 'Tomcat Users List'
Subject: RE: Problem with error-page

Doooh. My quick guess was not right, then:).

Sorry.

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: May 20, 2004 14:48
To: 'Tomcat Users List'
Subject: RE: Problem with error-page


DOH!  prepend is what I meant to say.

 -Original Message-
 From: Mike Curwen [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 20, 2004 3:45 PM
 To: 'Tomcat Users List'
 Subject: RE: Problem with error-page


 I had never thought of that!  But when I tested it, it seems
 that JASPER appends a _, and so a JSP  page that starts with
 a number should still work.




-
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]


-
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]



Different Problem with error-page

2004-05-20 Thread Frank T. Murphy
I have a different problem with the error-page.

Our goal is to have any 404's redirected to a particular web page called
act_check.html

the web.xml piece looks as follows

 error-page
error-code404/error-code
location/act_check.html/location
  /error-page

It works on netscape 7.0 but I still get the standard IE 404 page when
running IE

Any thoughts?



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



How much memory does Tomcat really use?

2003-09-25 Thread Frank T. Murphy
Does anyone have a handle on how much memory is used by java in running
tomcat?  I set the ms and mx values but it always seems that the process
overall takes up much more memory.

I asume it's overhead with the JVM talking to the operating system.
I'm trying to get a handle on how to size various servers.
I went through Sun's developer forums and I've seen this question asked
several times with no response.

I work in bothe the Solaris and windows environment.


Thanks



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



Tomcat and I-planet

2003-07-14 Thread Frank T. Murphy
Does anyone know the encryption algorithm Tomcat uses on ssl connections.
I am trying to connect with an I-planet proxy and I am getting the
following error message:

retrieve-exit-routine reports: proxy retrieve failed: Netscape and this
server cannot communicate securely because they have no common
encryption algorithm(s).



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