Context Relative versus Path Relative error pages

2005-10-12 Thread Arlene Milgram
Hi All, We ran into a problem with JSP pages under Tomcat 5.5.9 which did not exist under Tomcat 4.1.31. In Tomcat 5.5.9 if we forward to a JSP page that is in a different directory then the initial request the errorPage directive does not work as we expected. If we use a path relative

Removing the default server error pages

2005-06-13 Thread Robert Clarkson
Hi there, I am using tomcat 5.5 as an RTSP server, and I need to send response codes back, but I do not need to send any HTML response back. I know that I can change the response page that is returned by editing web.xml and adding the following error-page error-code404/error-code

Removing the default server error pages

2005-06-13 Thread Robert Clarkson
Hi there, I am using tomcat 5.5 as an RTSP server, and I need to send response codes back, but I do not need to send any HTML response back. I know that I can change the response page that is returned by editing web.xml and adding the following error-page error-code404/error-code

RE: Common error pages

2004-12-03 Thread Shapira, Yoav
Hi, Is there a way to have tomcat (4 and/or 5) share error files between all applications (contexts). No, there isn't. There's a similar thread going on right now for common images. And there have been many similar threads in the past. Use a version control system and package complete,

Common error pages

2004-12-02 Thread Dustin
Is there a way to have tomcat (4 and/or 5) share error files between all applications (contexts). I've tried to add the error-page element in the global web.xml, and while each app recognizes that element, it looks within its own context for the page. Example: (in $CATALINA_HOME/conf/web.xml)

customized error pages in certificate-client authentication

2004-08-24 Thread Luis Urueña Frías
Hi! I'm developing a java webapp overTomcat 4.2, with client certificate authentication. Is there any way to configure a customize error page? When I enter in the webapp with an appropiate certificate, HTTPS runs fine. And when I enter without it, ssl handshake detects an error, an

Re: customized error pages in certificate-client authentication

2004-08-24 Thread John Villar
RTFM. web.xml has ways to do this based on the HTTP error code yours would be the 404 HTTP error code Luis Urueña Frías escribió: Hi! I'm developing a java webapp over Tomcat 4.2, with client certificate authentication. Is there any way to configure a customize error page? When

custom error pages

2004-08-05 Thread Maurice Marrink
Hi, I,m using tomcat 5.0.27 and am trying to show custom error pages. I added a couple of errorpage tags to my webapps web.xml and the /conf/web.xml in the tomcat installation dir. error-page error-code500/error-code location/error/error.html/location /error-page

RE: custom error pages

2004-08-05 Thread Mike Curwen
I think the essence of the request is to get Tomcat to not show a tomcat error page under any circumstances. For those using Tomcat stand-alone, (ie: they do not have the benefit of being able to use custom apache error pages), is there a solution? If you say that errorpages specified in web.xml

RE: custom error pages

2004-08-05 Thread Shapira, Yoav
Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 2:44 PM To: 'Tomcat Users List' Subject: RE: custom error pages I think the essence of the request is to get Tomcat to not show a tomcat error page under any circumstances. For those using Tomcat stand-alone, (ie

Overidding Tomcat error pages

2004-07-14 Thread EXT-Patel, Rajesh M
I would like to override tomcats' error messages for all webapps. I added the following to conf/web.xml: error-page error-code503/error-code location/error/error.jsp/location /error-page error-page error-code404/error-code

Re: Client authentication and customized error pages

2004-05-17 Thread Gustavo Rodríguez
I'm sorry to insist...anyone at Jakarta knows about this problem?? Gustavo Rodríguez wrote: Hi everyone! We were working in this issue some time ago, and reported that when using the clientAuth=want parameter, we got the following exception: java.net.SocketException: Socket Closed at

Client authentication and customized error pages

2004-05-11 Thread Gustavo Rodríguez
Hi everyone! We were working in this issue some time ago, and reported that when using the clientAuth=want parameter, we got the following exception: java.net.SocketException: Socket Closed at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:177) We left it for some time, as

RE: Client authentication and customized error pages

2004-03-18 Thread Carlos Guardiola
(Hi everyone! Here i'm again, asking for some help about https authentication and custom error pages.) Dear Mr. Bill Barker, We've used clientAuth=want as you suggested; and now we've managed to know that a client tried to access the application without a valid certificate. That's is OK, and we

Re: Client authentication and customized error pages

2004-03-18 Thread Bill Barker
Carlos Guardiola [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] (Hi everyone! Here i'm again, asking for some help about https authentication and custom error pages.) Dear Mr. Bill Barker, We've used clientAuth=want as you suggested; and now we've managed to know that a client

Client authentication and customized error pages

2004-03-04 Thread Carlos Guardiola
Hi everyone! I'm using SSL client authentication in a tomcat 5.0.19. Everything goes fine, but i need some help customizing error pages. When a client want to use my application, the browser asks him to choose a valid certificate, but perhaps he hasn't a valid one. If he doesn't have

Re: Client authentication and customized error pages

2004-03-04 Thread Bill Barker
the case where there is no cert sent. Carlos Guardiola [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everyone! I'm using SSL client authentication in a tomcat 5.0.19. Everything goes fine, but i need some help customizing error pages. When a client want to use my application

Customizing Error Pages

2004-01-13 Thread Krishnamoorthy Rao
Hi, I am using Tomcat 4.0. How to customize error pages? Your help will be valuable for us. Thanks and Regards, Krishnamoorthy Rao PLAYWIN - Vashi

RE: Customizing Error Pages

2004-01-13 Thread Altankov Peter
PROTECTED] Sent: 13 2004 . 15:14 To: [EMAIL PROTECTED] Subject: Customizing Error Pages Hi, I am using Tomcat 4.0. How to customize error pages? Your help will be valuable for us. Thanks and Regards, Krishnamoorthy Rao PLAYWIN - Vashi

RE: Customizing Error Pages

2004-01-13 Thread Shapira, Yoav
, 2004 8:14 AM To: [EMAIL PROTECTED] Subject: Customizing Error Pages Hi, I am using Tomcat 4.0. How to customize error pages? Your help will be valuable for us. Thanks and Regards, Krishnamoorthy Rao PLAYWIN - Vashi This e-mail, including any attachments, is a confidential business

Standard error pages ?

2003-09-29 Thread Mufaddal Khumri
Hi, I am using tomcat 4.1.18. I want to be able to redirect a user to a standard error page 500 when someone tries to access a .jsp in my webapp. Is there a standard mechanism to do this in tomcat or will i have to do:

Re: Standard error pages ?

2003-09-29 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#error -Tim Mufaddal Khumri wrote: Hi, I am using tomcat 4.1.18. I want to be able to redirect a user to a standard error page 500 when someone tries to access a .jsp in my webapp. Is there a standard mechanism to do this in tomcat or will i

Re: custom error pages?

2003-06-21 Thread Yoav Shapira
Howdy, Define an exception, e.g. MyException. Define an error-page (in web.xml) for that exception. Throw that exception from your servlet. Yoav Shapira --- seera naveen [EMAIL PROTECTED] wrote: Hi, I am using FORM based authentication and JNDIRealm. Is it possible to have custom error

custom error pages?

2003-06-20 Thread seera naveen
Hi, I am using FORM based authentication and JNDIRealm. Is it possible to have custom error pages in Tomcat? Apart from Invalid username and password, I want to check for another attribute and if that attribute is not set, I want to throw another message. Thanks Naveen SMS using the Yahoo

Custom Error Pages

2003-06-19 Thread Thomas, Kevin
Hi all, I have setup some custom error pages and have updated $CATALINA_HOME/conf/web.xml to direct to these pages should an error occur. However, when a error is raised the app automatically looks within /webapp/Errors for the pages instead of /ROOT/Errors where I would like it to look. Errors

RE: Custom Error Pages

2003-06-19 Thread Shapira, Yoav
Howdy, The url-pattern for error pages in web.xml is relative to your docBase. C'est tout. Yoav Shapira Millennium ChemInformatics -Original Message- From: Thomas, Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 10:25 AM To: 'Tomcat Users List' Subject: Custom Error Pages

RE: Custom Error Pages

2003-06-19 Thread Thomas, Kevin
Merci :O) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 15:28 To: Tomcat Users List Subject: RE: Custom Error Pages Howdy, The url-pattern for error pages in web.xml is relative to your docBase. C'est tout. Yoav Shapira Millennium ChemInformatics

Custom error pages Internet Explorer

2003-06-11 Thread Lee W
Hi, I have just started learning JSP Tomcat so please be gentle. I am currently designing a webapp and was trying to get some custom error pages working (currently just to handle 404, page cannot be found). However they don't seem to work in Internet Explorer. All of the default Tomcat

RE: Custom error pages Internet Explorer

2003-06-11 Thread Tim Robinson
it on the server. --- Tim -Original Message- From: Lee W [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 14:29 To: [EMAIL PROTECTED] Subject: Custom error pages Internet Explorer Hi, I have just started learning JSP Tomcat so please be gentle. I am currently designing a webapp

Re: Custom error pages Internet Explorer

2003-06-11 Thread Michael Duffy
custom message in not-found.jsp. HTH - MOD --- Lee W [EMAIL PROTECTED] wrote: Hi, I have just started learning JSP Tomcat so please be gentle. I am currently designing a webapp and was trying to get some custom error pages working (currently just to handle 404, page cannot be found

Re: Custom error pages Internet Explorer

2003-06-11 Thread Lee W
Michael Duffy wrote: Hi Lee, Do you have error-page tags in your web.xml? You can tell Tomcat to send 404 errors to a JSP of your choosing by adding something like this to web.xml, after welcome-file-list and before taglib: error-page error-code404/error-code location/not-found.jsp/location

Re: Custom error pages Internet Explorer

2003-06-11 Thread Lee W
What is going on with my typing today :- Do you think to is any OK was to have done it or could it cause problems ? Should have read as: Do you think is was OK to have done it like this or could it cause problems ? - To

Re: Custom error pages Internet Explorer

2003-06-11 Thread Michael Duffy
Nope, perfectly okay. One other thing you might want to know: if your JSPs use an error page, your servlet will have to set the request attribute javax.servlet.jsp.jspException in your doPost(), like this: try { // useful stuff here } catch (Exception e) { servletContext.log(e.getMessage(), e);

Example error pages?

2003-05-30 Thread Wendy Smoak
Would anyone be willing to share a good error JSP to be used with the error-page tag in web.xml? What kinds of things do you typically show? Is there a way to capture the stack trace with out showing it to the user? Maybe as an HTML comment below a bunch of br's so they won't see it unless

Re: Example error pages?

2003-05-30 Thread Chong Yu Meng
Wendy Smoak wrote: Would anyone be willing to share a good error JSP to be used with the error-page tag in web.xml? What kinds of things do you typically show? Is there a way to capture the stack trace with out showing it to the user? Maybe as an HTML comment below a bunch of br's so they won't

Re: Example error pages?

2003-05-30 Thread Tim Funk
I use this page (hopefully attached) ... Its not pretty but nice for debugging - but its not(and should not be) for production either. For production use - show a pretty page and log the rest somewhere. Maybe showing an ID in case someone reports it, then a tech can look at the dump in the

Re: Example error pages?

2003-05-30 Thread Tim Funk
D'oh. Didn't make it. Here it is inline ... This is also a classic example of everything ugly jsp ;) (But it works real nice for me) ... -Tim --start of page-- %@ page import=java.net.InetAddress import=java.util.Enumeration % % Cookie[] cookies = request.getCookies(); String

RE: Example error pages?

2003-05-30 Thread Wendy Smoak
Tim wrote: Here it is inline ... This is also a classic example of everything ugly jsp ;) (But it works real nice for me) ... I have one of those, too... It's called 'debug.jsp' and it gets %@ include file=debug.jsp %'ed on my tiles layout page so it shows up everywhere. Then when I deploy

Re: Example error pages?

2003-05-30 Thread Bill Barker
My own error-pages are designed to hide as much as possible from the end-user (and write to the server-logs if necessary), so I'm not much help here. If you want to print the stack trace, the best I can think of is (for a jsp error-page): pre class=error!-- define the 'error' class in your css

Error pages not showing when using RDispatcher.forward

2003-03-19 Thread Madocke TomCat users
Hey gang, I've created a Controller servlet which has a servlet-mapping capturing all requests to /mirakel.do. This servlet determines based on the querystring/session/etc where it should send the request and then does a request.getRequestDispatcher(some JSP page).forward(req,resp). When my

error pages and web.xml

2003-03-12 Thread Chong Yu Meng
Greetings ! I'm having problems configuring error pages in Tomcat. I've written a servlet called ErrorHandler that should handle any exceptions thrown by my servlets. Inside the web.xml of my web application I specified : error-page exception-typejavax.servlet.ServletException/exception-type

RE-REPOST: error pages :-)

2002-10-01 Thread Felipe Schnack
Nobody uses this? I added these lines to my web.xml error-page exception-typejava.lang.Exception/exception-type location/ponto/error.jsp/location /error-page With this, any thrown exception should be redirected to /ponto/error.jsp, right? Well, it seems that when

REPOST: error pages

2002-09-30 Thread Felipe Schnack
I added these lines to my web.xml error-page exception-typejava.lang.Exception/exception-type location/ponto/error.jsp/location /error-page With this, any thrown exception should be redirected to /ponto/error.jsp, right? Well, it seems that when an Servlet generates

error pages

2002-09-29 Thread Felipe Schnack
I addes these lines to my web.xml error-page exception-typejava.lang.Exception/exception-type location/ponto/error.jsp/location /error-page With this, any thrown exception must be redirected to /ponto/error.jsp, right? Well, it seems that when an Servlet generates an

Custom error pages and BASIC authorization

2002-08-09 Thread Joe Tomcat
works correctly, but I get the Tomcat default error pages for file not found and auth error. Showing default server error pages looks quite unprofessional, so I want to not do this. Any sugestions? Thanks! Btw, is there any company which sells commercial support for Tomcat? -- To unsubscribe

custom error-pages

2002-07-10 Thread Daniel Collins
I was playing around with creating some custom error pages for a web application (servlets and JSPs) and I'm not sure if what I am seeing is correct or not. I've had a look around the archives but can't see anything about this particular problem, but apologies if someone's already asked

RE: custom error-pages

2002-07-10 Thread Ricky Leung
formatted page. -Original Message- From: Daniel Collins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 10:36 AM To: [EMAIL PROTECTED] Subject: custom error-pages I was playing around with creating some custom error pages for a web application (servlets and JSPs

customised error pages rather than tomcats error pages

2002-07-09 Thread AMRAN121
Hi I would like to know how can I set tomcat to output my own custom error pages when i get error 403, 404, 500 and so on rather than tomcats error pages. Thanxs -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: customised error pages rather than tomcats error pages

2002-07-09 Thread Douglas, Rory
Title: RE: customised error pages rather than tomcats error pages Try adding these definitions to your web.xml error-page error-code404/error-code location/Failure.jsp/location /error-page error-page exception-typejava.io.IOException/exception-type location/Failure.jsp/location /error

Re: customised error pages rather than tomcats error pages

2002-07-09 Thread rsequeira
AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:customised error pages rather than tomcats error pages Hi I would like to know how can I set tomcat to output my own custom error pages when i get error 403, 404, 500 and so on rather than tomcats

Re: customised error pages rather than tomcats error pages

2002-07-09 Thread AMRAN121
ok thanxs -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: customised error pages rather than tomcats error pages

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002 [EMAIL PROTECTED] wrote: Date: Tue, 9 Jul 2002 10:16:52 EDT From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: customised error pages rather than tomcats error pages Hi I would like to know how can I set tomcat

Error on startup when using custom error pages

2002-07-02 Thread Sefton, Adam
Hi, I'm trying to pick up error codes and display custom error pages. The one I'm working with currently is the 401 error in the case of failed logins. I've added the following in my /conf/web.xml: error-page error-code401/error-code locationerror.html/location /error-page

RE: Error on startup when using custom error pages

2002-07-02 Thread Sefton, Adam
Users List' Subject: Error on startup when using custom error pages Hi, I'm trying to pick up error codes and display custom error pages. The one I'm working with currently is the 401 error in the case of failed logins. I've added the following in my /conf/web.xml: error-page error

Change default jsp buffer size (and error pages)?

2002-06-27 Thread Larry Meadors
the wrong tree here. The reason I want to change this is because my error pages (sometimes) do not get displayed. My suspicion is that the buffer has already been flushed, and therefore the redirect / forward is failing. Any thoughts would be appreciated... Larry

Customize Tomcat error pages

2002-06-11 Thread Markus Kirsten
How do I configure standard error pages like 403, 404 etc. for Tomcat? I've gone through the Tomcat documentation breifly but can't find anything about it. Markus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Customize Tomcat error pages

2002-06-11 Thread Tim Funk
standard error pages like 403, 404 etc. for Tomcat? I've gone through the Tomcat documentation breifly but can't find anything about it. Markus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

mod_jk tomcat error pages (bug in tomcat error pages?)

2002-04-16 Thread rob
When tomcat displays error messages after an exception in the underlying application typically does some formatting on the error produced (ie adding styles). I use mod_jk to run my application where the jsp/servlets function fine over the connector to tomcat. However if an error occurs

Re: mod_jk tomcat error pages (bug in tomcat error pages?)

2002-04-16 Thread Pascal Forget
In Apache's httpd.conf, replace: DefaultType text/plain with: DefaultType text/html rob wrote: When tomcat displays error messages after an exception in the underlying application typically does some formatting on the error produced (ie adding styles). I use mod_jk to run my

Tomcat 4.0.2 - HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages

2002-02-21 Thread Drew Cox
We have a Invalid URL error page that is forwarded to using the error-code and exception-type elements of the web.xml. On that page we use the HttpUtils.getRequestURL (req) call to get the (invalid) requested URL for display. Under Tomcat 3.3a this works fine, under tomcat 4.0.2 this give the

Redirecting error pages

2002-01-29 Thread Amine AMAR
Hi all, I have the following lines in my web.xml: error-page error-code500/error-codelocation/html/defaultError.htm/location /error-page error-page error-code404/error-codelocation/html/defaultError.htm/location /error-page The 404 errors get correctly redirected to the

Servlets and JSP Error Pages

2001-10-01 Thread Brendan McKenna
Hi, Is there a way to route exceptions thrown in servlets to a JSP error page? Brendan -- Brendan McKennaEmail: [EMAIL PROTECTED] Development Strategist Phone: +353-61-338177 Taringold Ltd.

Re: Servlets and JSP Error Pages

2001-10-01 Thread Zsolt Horvath
PROTECTED] Sent: Monday, October 01, 2001 3:45 PM Subject: RE: Servlets and JSP Error Pages It's not a really clean solution but you can do it like this : try{ . }catch(Exception e){ RequestDispatcher rd = getServletContext().getRequestDispatcher(MyErrorPage.jsp); request.setAttribute

Re: tomcat4, how to setup error pages for stopped application

2001-09-18 Thread naveen
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 18, 2001 6:12 PM Subject: tomcat4, how to setup error pages for stopped application Dear tomcat users, I have stopped my web application using /manager/stop?path=/mywebapp Now, if anybody accesses my web application they get

RE: tomcat4, how to setup error pages for stopped application

2001-09-18 Thread Taavi Tiirik
) is not available. I would like to set up error page explaining that webapp has been stopped for maintanance. Where sould i put error page definition and error pages? with very best wishes, Taavi

RE: tomcat4, how to setup error pages for stopped application

2001-09-18 Thread Taavi Tiirik
Status 404 - /mywebapp/index.jsp The requested resource (/mywebapp/index.jsp) is not available. I would like to set up error page explaining that webapp has been stopped for maintanance. Where sould i put error page definition and error pages? with very best wishes

Re: tomcat4, how to setup error pages for stopped application

2001-09-18 Thread Craig R. McClanahan
] To: [EMAIL PROTECTED] Subject: tomcat4, how to setup error pages for stopped application Dear tomcat users, I have stopped my web application using /manager/stop?path=/mywebapp Now, if anybody accesses my web application they get error 404 like this: HTTP Status 404 - /mywebapp/index.jsp

Disabling error pages

2001-09-04 Thread Pedro Morais
Hi! Tomcat automatically generates an error page when I call response.setError(). I'd like to disable this funcionality, i.e. return only the error code with no page attached. Is it possible? - Pedro Morais

RE: Changing error pages

2001-07-31 Thread Loïc Lefèvre
/rfcs/rfc2068.html good luck ;) Loïc Lefèvre -Message d'origine- De : Ivan E. Markovic [mailto:[EMAIL PROTECTED]] Envoyé : mardi 31 juillet 2001 14:01 À : [EMAIL PROTECTED] Objet : RE: Changing error pages Importance : Haute Loïc, I spent over an hour scanning all my .conf files for both

RE: Changing error pages

2001-07-24 Thread Jann VanOver
Loïc, how will this help if Tomcat is not even running? -Original Message- From: Loïc Lefèvre [mailto:[EMAIL PROTECTED]] Sent: Monday, July 23, 2001 3:36 AM To: [EMAIL PROTECTED] Subject: RE: Changing error pages Try this url, ;) http://www.jguru.com/faq/view.jsp?EID=318806 Loïc

RE: Changing error pages

2001-07-24 Thread Dmitri Colebatch
will this help if Tomcat is not even running? -Original Message- From: Loïc Lefèvre [mailto:[EMAIL PROTECTED]] Sent: Monday, July 23, 2001 3:36 AM To: [EMAIL PROTECTED] Subject: RE: Changing error pages Try this url, ;) http://www.jguru.com/faq/view.jsp?EID=318806 Loïc Lefèvre

Changing error pages

2001-07-23 Thread Ivan E. Markovic
A quickie. Can I change the error page that appears when Tomcat is down? Or is this hard-coded into Apache? Somehow, someway I want to be able to provide people with notice of what's going on when I am taking the system down. Thank you. I v a n ... Ivan Markovic SculptLight

Using Error Pages

2001-07-19 Thread Bragg, Casey
Hello : I can't get my 403 (forbidden) error page to show up. Instead, I get the standard 403 error message on my browser (yes, friendly error messages are turned off on IE). My 404 page works and its virtually identical to my 403 page. What am I doing wrong? I have the following entry in

Using Error Pages? : Still stuck... More info...

2001-07-19 Thread Bragg, Casey
, 2001 10:44 AM To: [EMAIL PROTECTED] Subject: Using Error Pages Hello : I can't get my 403 (forbidden) error page to show up. Instead, I get the standard 403 error message on my browser (yes, friendly error messages are turned off on IE). My 404 page works and its virtually identical to my 403

Re: Using Error Pages? : Still stuck... More info...

2001-07-19 Thread Craig R. McClanahan
value from a Valve. A possible alternative would be to implement your ManagerValve functionality as a Filter instead. That way, it would be processed inside the webapp, and error pages would be applied. As an extra added bonus, you would be portable to other containers as well :-). Craig

Configuration of default error pages (Howto?)

2001-06-28 Thread guido . bartels
Hi there, is there a possibility to configure TOMCAT 3.2 in a way that the default error pages look different than they look in the standard configuration? I would like to avoid displaying stack traces and display some useful information for end users, like email and phone number. Does anyone

Custom error Pages

2001-02-12 Thread Yogesh Agarwal
Hi All: I have set up tomcat/apache to host my web application. Now I want to throw custom error pages for 404/500 errors. I read in the archives that error-code tag in web.xml will work. I tried the same but it doesn't work. If somebody has faced the similar situation and come up

Re: Custom error pages from servlets?

2001-02-08 Thread Kief Morris
Les Hartzman typed the following on 04:36 PM 2/7/2001 -0800 Using Tomcat 3.2.1, is it possible to define/display custom error pages based on errors that occur within a servlet? No JSPs are used; this is a servlet/EJB environment. I've seen in the spec for web.xml that there is an error-page

Custom Error Pages ... URGENT... Frustrated!!

2001-02-08 Thread Dan Sojka
Title: Custom Error Pages ... URGENT... Frustrated!! I have posted this problem a few times. I want to simply catch a 404 in tomcat and have and bring up a custom jsp page. I have tried in web xml - error-page error-code404/error-code location/404.jsp/location /error-page I have tried

Custom Error Pages ... URGENT... Frustrated!!

2001-02-08 Thread Dan Sojka
Title: Custom Error Pages ... URGENT... Frustrated!! I have posted this problem a few times. I want to simply catch a 404 in tomcat and have and bring up a custom jsp page. I have tried in web xml - error-page error-code404/error-code location/404.jsp/location /error-page I have tried

Custom Error Pages ... URGENT... Frustrated!

2001-02-08 Thread Dan Sojka
Title: Custom Error Pages ... URGENT... Frustrated! I have posted this problem a few times. I want to simply catch a 404 in tomcat and have and bring up a custom jsp page. I have tried in web xml - error-page error-code404/error-code location/404.jsp/location /error-page I have tried

RE: Custom Error Pages ... URGENT... Frustrated!

2001-02-08 Thread Ignacio J. Ortega
PROTECTED]] Enviado el: jueves 8 de febrero de 2001 23:52 Para: '[EMAIL PROTECTED]' Asunto: Custom Error Pages ... URGENT... Frustrated! I have posted this problem a few times. I want to simply catch a 404 in tomcat and have and bring up a custom jsp page. I have tried in web xml - error-page error

RE: Custom Error Pages ... URGENT... Frustrated!

2001-02-08 Thread Ignacio J. Ortega
Error Pages ... URGENT... Frustrated! I have posted this problem a few times. I want to simply catch a 404 in tomcat and have and bring up a custom jsp page. I have tried in web xml - error-page error-code404/error-code location/404.jsp/location /error-page I have tried pointing the location

Custom error pages from servlets?

2001-02-07 Thread Les Hartzman
Using Tomcat 3.2.1, is it possible to define/display custom error pages based on errors that occur within a servlet? No JSPs are used; this is a servlet/EJB environment. I've seen in the spec for web.xml that there is an error-page element for either a general error code or an exception type

Re: Custom error pages from servlets?

2001-02-07 Thread Pete Ehli
catch try blocks - out.println(Your custom error message!); -- Pete -- - Original Message - From: "Les Hartzman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 4:36 PM Subject: Custom error pages from servlets? Using Tomcat 3.2.1, is it possible

Re: AW: Custom error pages!!

2000-12-15 Thread Kief Morris
Scott Jones typed the following on 12:33 14/12/2000 -0800 error-page error-code500/error-code location/errors/error.jsp/location /error-page However, this doesn't seem to work at all -- an error in a Cocoon page will just give me a plain-ol' stack dump like I normally get

Re: AW: Custom error pages!!

2000-12-15 Thread Pankaj Bhagat
has solved my problem as the deadline is near but feel its not a good solution. cheers Pankaj - Original Message - From: "Kief Morris" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 15, 2000 12:31 PM Subject: Re: AW: Custom error pages!! Scott Jones typed the foll

RE: AW: Custom error pages!!

2000-12-15 Thread Alexander Telnikoff
Has anybody sucessfuly configured Tomcat with Apache/mod_jk to use different instances of Tomcat for different virtual domains? I do everything as per documentation, i.e. start two versions of Tomcat specifying different server.xml files, but get error "address already in use" when it comes to

Error Pages w/o a web-app?

2000-12-14 Thread Daniel Tet
I can put this in the web.xml file till I am blue in the face and it will not read error.jsp when there is a not found error, or any error for that matter. web-app error-page error-code "your error code here" /error-code location "error1.jsp"/location /error-page /web-app I

Re: AW: Custom error pages!!

2000-12-14 Thread Scott Jones
code to be completely robust, so no errors will ever occur (this is just for completeness)... ;) Thanks! -Scott - Original Message - From: "Catherine Jung" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 8:04 AM Subject: Re: AW: Custom error pages!!

Custom error pages!!

2000-12-12 Thread Pankaj Bhagat
Hi ppl: I had posted a very simple query..but had not received any comments. So am i the only unlucky person who's stuck on this simple problem. Any suggestions are welcome plz. I want Custom error pages, in my application, the two solutions i have is to use the "ErrorDoc

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 11:17 12/12/2000 +0100 I want Custom error pages, in my application, the two solutions i have is to use the "ErrorDocument" directive in Apache or to use the "error-pages" xml element while deploying my servlet in Tomcat (please note th

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 11:58 12/12/2000 +0100 So now what i can understand is that it should be Tomcat's problem to intercept any errors occuring in the servlet and then passing me onto the specified url in the deployment descriptor. I believe this only applies to JSP pages. For

AW: Custom error pages!!

2000-12-12 Thread Amrhein, Thomas
, Thomas -Ursprüngliche Nachricht- Von: Pankaj Bhagat [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 12. Dezember 2000 12:59 An: [EMAIL PROTECTED] Betreff: Re: Custom error pages!! Thanks for your response. The solution really sounds good. But just for information, can you comment

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 12:58 12/12/2000 +0100 But just for information, can you comment on the error-pages tag not working in the deployment descriptor of Tomcat 3.2 I just tried it, it works fine for me. Are you specifying the full names of the exceptions? e.g

Re: Custom error pages!!

2000-12-12 Thread Pankaj Bhagat
PM Subject: Re: Custom error pages!! Pankaj Bhagat typed the following on 12:58 12/12/2000 +0100 But just for information, can you comment on the error-pages tag not working in the deployment descriptor of Tomcat 3.2 I just tried it, it works fine for me. Are you specifying the

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Pankaj Bhagat typed the following on 14:58 12/12/2000 +0100 The only difference in what i was trying previously and this one is that for an error page i was going to an html file whereas now its working if i redirect to a jsp. Aha, someone else just pointed this out. Dont know

Re: Custom error pages!!

2000-12-12 Thread Pankaj Bhagat
ot; [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 3:41 PM Subject: Re: Custom error pages!! Pankaj Bhagat typed the following on 14:58 12/12/2000 +0100 The only difference in what i was trying previously and this one is that for an error page i was going to an html fi

Re: Custom error pages!!

2000-12-12 Thread Shahed Ali
I dont know about the specs, but I think all errorpages need the iserrorpage = true page directive. So that could mean that they should be .jsp (?) Shahed

Re: Custom error pages!!

2000-12-12 Thread Kief Morris
Shahed Ali typed the following on 08:49 12/12/2000 -0600 I dont know about the specs, but I think all errorpages need the iserrorpage = true page directive. So that could mean that they should be .jsp (?) The spec doesn't seem to say this ... I believe that's just needed if you want the

  1   2   >