RE: error page configuration

2009-03-18 Thread Caldarale, Charles R
> From: Dinesh Gupta [mailto:dinesh.gupt...@hotmail.com] > Subject: error page configuration > > If anyone have idea about this please help. http://www.catb.org/~esr/faqs/smart-questions.html If you provide real information, you might get a real answer... - Chuck THIS COMMU

error page configuration

2009-03-18 Thread Dinesh Gupta
Hi, I am using tiles for template. In body jsp got error. Now I want to configure the error page if any of the included page have exception. If anyone have idea about this please help. Regards Dinesh Gupta _ How fun is

Re: Is it possible for error page from one webapp to direct to another?

2009-01-26 Thread Juha Laiho
removeps-gro...@yahoo.com wrote: > Is it possible for error page from one webapp to direct to another? What I'm > thinking is: > > In mywebservice/WEB-INF/web.xml > > > 404 > /errors/404.html > > > But I want the error page to be > >

Is it possible for error page from one webapp to direct to another?

2009-01-25 Thread removeps-groups
Is it possible for error page from one webapp to direct to another? What I'm thinking is: In mywebservice/WEB-INF/web.xml 404 /errors/404.html But I want the error page to be ROOT/errors/404.html Thanks. ---

回复: about tomcat default error page

2008-10-20 Thread 李征
t 已发送: 2008/10/17(周五), 下午6:05:25 主题: Re: about tomcat default error page Hi 李征, I don't know the answer to your question, but here is a recommendation : To avoid delays in answering your question, it is always helpful to specify : - on which platform this happens (Windows, Unix, Linux,..) - what

Re: about tomcat default error page

2008-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 李征, 李征 wrote: > i use apache with tomcat. > i don't want tomcat to generate its default error page when a error happens. > instead, i want to show my error page which i set in the apache conf file. > > i know that i can use to

Re: about tomcat default error page

2008-10-17 Thread André Warnier
lease notes of mod_jk. I am not sure, but I think I remember seeing something that was more or less around that subject. André 李征 wrote: > i use apache with tomcat. > i don't want tomcat to generate its default error page when a error happens. > instead, i want to show my error page

about tomcat default error page

2008-10-17 Thread 李征
i use apache with tomcat. i don't want tomcat to generate its default error page when a error happens. instead, i want to show my error page which i set in the apache conf file. i know that i can use to do this, but i don't want to do it twice -- both apache and tomcat. is

Re: Forwarding an exception to the default HTTP 500 error page

2008-10-10 Thread Christopher Schultz
e cases to the existing > Tomcat HTTP 500 error report page. Why not create your own error page and use that throughout your application? The default Tomcat "500" error page is pretty ugly. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Usin

Forwarding an exception to the default HTTP 500 error page

2008-10-09 Thread Lance Bader
I have a web application that uses a proxy class to exchange information with an external system. When this proxy class throws an exception, it always appears as a cause in some other exception, typically javax.el.ELException. I have built a custom error page to handle an exception where the

Solution to integrating error-page with struts2

2008-09-19 Thread Fred Toth
Hi all, I had problems trying to get tomcat to forward to a struts2 action from an directive in web.xml. I was all set to run to the list for help when I figured it out. I thought I'd post this anyway in case it helps someone else. I had error-page working in the simplest sense. If I po

Re: Custom error page with stacktrace

2008-08-24 Thread Kees Jan Koster
Dear All, In your error page, the variable "exception" is set to the exception (if any). You can get the error message and stack trace from the exception like this: Exception message: <%= (exception == null) ? "" : exception.getMessage() %> <% String stStac

Re: Custom error page with stacktrace

2008-08-20 Thread Len Popp
In your error page, the variable "exception" is set to the exception (if any). You can get the error message and stack trace from the exception like this: Exception message: <%= (exception == null) ? "" : exception.getMessage() %> <% String stStac

Custom error page with stacktrace

2008-08-20 Thread Tom van Wietmarschen
L.S, I'm running tomcat to serve out XML to a custom client (not a webbrowser). In order to show an error page that this client can actually display I use custom error pages in Tomcat. For this I have specified a JSP as an error page, this works very well. However, during the test pha

Re: Default error page generation logic in tomcat

2008-08-13 Thread Raghavendra Datt
not actually overriding catalina.jar proprely. Thanks, Raghu On Wed, Aug 13, 2008 at 1:02 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Raghavendra Datt [mailto:[EMAIL PROTECTED] > > Subject: Re: Default error page generation logic in tomcat > > > >

RE: Default error page generation logic in tomcat

2008-08-13 Thread Caldarale, Charles R
> From: Raghavendra Datt [mailto:[EMAIL PROTECTED] > Subject: Re: Default error page generation logic in tomcat > > I have this tomcat running on linux and I don't find > catalina.properties any where in the tomcat folders. A red flag just went up. Are you using a real To

Re: Default error page generation logic in tomcat

2008-08-13 Thread Raghavendra Datt
wrote: > >> Hi Guys, >> I had a specific requirement related to tomcat error generation. When a >> default error page is generated like 404 error page, tomcat appends its >> version info at the bottom of the page. I don't want this version to be >> displayed on the

Re: Default error page generation logic in tomcat

2008-08-13 Thread Mark Thomas
Raghavendra Datt wrote: Hi Guys, I had a specific requirement related to tomcat error generation. When a default error page is generated like 404 error page, tomcat appends its version info at the bottom of the page. I don't want this version to be displayed on the error page. I am tryi

RE: Default error page generation logic in tomcat

2008-08-13 Thread Angus Mezick
Create your own 404 error page and add it to your web.xml. 404 /error/404.jsp − java.lang.Throwable /error/500.jsp − 500 /error/500.jsp --Angus Mezick -Original Message- From: Raghavendra Datt [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 2:33 PM To: users

Default error page generation logic in tomcat

2008-08-13 Thread Raghavendra Datt
Hi Guys, I had a specific requirement related to tomcat error generation. When a default error page is generated like 404 error page, tomcat appends its version info at the bottom of the page. I don't want this version to be displayed on the error page. I am trying to understand which pa

RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-10 Thread Propes, Barry L
yeah, Dave, will do. -Original Message- From: david.melia [mailto:[EMAIL PROTECTED] Sent: Thursday, April 10, 2008 3:59 AM To: users@tomcat.apache.org Subject: RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication? Hi

Re: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, david.melia wrote: | Also, i have checked out the JNDIRealm source code and it only seems to log | any exception but not throw it back (seems to pass a null Principal back to | the calling code to signify you could not log on). If this is the

RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-10 Thread david.melia
Hi, regarding the error-page idea i have tried this and this does not work but thinking about it, for form based authentication you have to define a mandatory error page anyway so this would have precendence over any error page defined else where. A login failure always flows back to the page

RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-09 Thread Propes, Barry L
ok, thanks. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 11:47 AM To: Tomcat Users List Subject: RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication? > F

RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-09 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Subject: RE: JNDIRealm - how to display login > exceptions/error msg within form-error-page when using Form > based authentication? > > even for my antiquated version, Chuck? 4.1.36? It's been in the servlet spec si

RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-09 Thread Propes, Barry L
even for my antiquated version, Chuck? 4.1.36? -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 11:17 AM To: Tomcat Users List Subject: RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form

RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-09 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Subject: RE: JNDIRealm - how to display login > exceptions/error msg within form-error-page when using Form > based authentication? > > I believe you can only set one standard error page in the XML > file, if I'm

RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-09 Thread Propes, Barry L
I believe you can only set one standard error page in the XML file, if I'm not mistaken, at least of the specific web app itself. But one thing I did was flag for a specific exception to be caught, and if this matched, ran an out.println series of statements to the browser indicating to

JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-09 Thread david.melia
piate error message. Does anyone know if this is possible? -- View this message in context: http://www.nabble.com/JNDIRealm---how-to-display-login-exceptions-error-msg-within-form-error-page-when-using-Form-based-authentication--tp16585051p16585051.html Sent from the Tomcat - User mailing list ar

Re: Error Page Question

2008-03-20 Thread Peter Stavrinides
oh no! even more work for me now... thanks anyway for your help guys! Len Popp wrote: You can't override the 503 error page using an declaration. :-( The only way I know of to change it is to replace org.apache.catalina.valves.ErrorReportValve with your own version, which you specify i

Re: Error Page Question

2008-03-19 Thread Len Popp
You can't override the 503 error page using an declaration. :-( The only way I know of to change it is to replace org.apache.catalina.valves.ErrorReportValve with your own version, which you specify in the "errorReportValveClass" attribute of the element in server.xml. I haven&#x

Re: Error Page Question

2008-03-19 Thread Pid
lve uses a StringBuilder to create HTML and sends it to a Writer, which might make things difficult. Valves aren't too tricky to write so it would be easy/quick to experiment and see if it works. p Peter Stavrinides wrote: Oh thanks! that sounds quite simple... so I just add my error p

Re: Error Page Question

2008-03-19 Thread Peter Stavrinides
Unfortunately this solution doesn't solve it, I can only override 404 pages?, for 503 pages it simply ignores the override in web.xml, anybody got any other suggestions? Peter Stavrinides wrote: Oh thanks! that sounds quite simple... so I just add my error page descriptor in the

Re: Error Page Question

2008-03-19 Thread Peter Stavrinides
Oh thanks! that sounds quite simple... so I just add my error page descriptor in the ROOT applications web.xml and it will override. David Delbecq wrote: The easiest way i found out here was to use the 404 of the ROOT web application ^^ to display a 'site under maintenance'. You

Re: Error Page Question

2008-03-19 Thread David Delbecq
l, How do I display a friendly error page (503 site under maintenance) if my application is taken off-line? I understand how to override error pages with my application running, but can I, and where do I configure a 503 when its down, but Tomcat is still run

Error Page Question

2008-03-19 Thread Peter Stavrinides
Hi all, How do I display a friendly error page (503 site under maintenance) if my application is taken off-line? I understand how to override error pages with my application running, but can I, and where do I configure a 503 when its down, but Tomcat is still running. Thanks Peter

Re: How to suppress error page for a response with only the status code set

2008-03-19 Thread Martin Grotzke
Hi, just to check if this would be an option: is it possible to tell tomcat not to render its error pages? Of course one configure an empty file as error page, but this would have to be done for *all* error codes AFAICS. Thanx && cheers, Martin On Tue, 2008-03-18 at 17:15 -0400, Chr

Re: How to suppress error page for a response with only the status code set

2008-03-19 Thread Martin Grotzke
On Tue, 2008-03-18 at 16:42 -0700, Hassan Schroeder wrote: > On Tue, Mar 18, 2008 at 4:28 PM, Martin Grotzke > <[EMAIL PROTECTED]> wrote: > > > Only for the REST api (mapped to a specific path/url-pattern) we do not > > want to return these error pages but only codes. > > So write dynamic error

Re: How to suppress error page for a response with only the status code set

2008-03-18 Thread Hassan Schroeder
On Tue, Mar 18, 2008 at 4:28 PM, Martin Grotzke <[EMAIL PROTECTED]> wrote: > Only for the REST api (mapped to a specific path/url-pattern) we do not > want to return these error pages but only codes. So write dynamic error pages that return the appropriate content (or lack thereof) based on the

Re: How to suppress error page for a response with only the status code set

2008-03-18 Thread Martin Grotzke
Hi, On Tue, 2008-03-18 at 17:15 -0400, Christopher Schultz wrote: > You could set an in web.xml that produces no output for > these status codes. the rest of the application serves pages visited by humans - for them we want to display error pages. (Sorry, I didn't point this out) Only for the R

Re: How to suppress error page for a response with only the status code set

2008-03-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Grotzke wrote: | Is there a way not to return error pages in these cases? You could set an in web.xml that produces no output for these status codes. Something like: ~ 400 ~ /path/to/zero/length/file - -chris -BEGIN PGP S

How to suppress error page for a response with only the status code set

2008-03-18 Thread Martin Grotzke
Hi, we have a web application running in tomcat that returns error pages for status codes like e.g. 404 - absolutely fine. In the same servlet context we provide a RESTful API (using jersey [1]), that in most of the cases returns xml. In some cases responses with only the error code set (e.g. 400

error page for ViewExpiredException using JSF-RI 1.2

2008-01-22 Thread Stephen More
I am currently using JSF-RI 1.2_07, facelets 1.1.13 and tomcat 5.5.23 Within my web.xml the following works as expected: java.lang.Exception /redirect.jsp The following is NOT working: javax.faces.application.ViewExpiredException /redirect.jsp

Re: Tomcat JSF custom error page

2007-12-27 Thread Louis
David Segall wrote: I have, after hours of trial and error, managed to persuade Tomcat to use my custom error page in a Java Server Faces application. Now that I have solved the problem I would like to know where I could have looked to find the answer. In case someone finds this page via a

Re: default 500 error page by tomcat

2007-12-27 Thread GF
Thanks. It's what I was looking for. > It isn't a JSP. It is generated by an internal Tomcat component (a Valve). > > > Where can I find its source? > http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java?revision=543307&view=markup > > HTH, > ---

Re: default 500 error page by tomcat

2007-12-27 Thread Mark Thomas
GF wrote: > But I want to know where to find the "source code" of that error 500 > page that tomcat automatically generates. I think that's too a .jsp > page. It isn't a JSP. It is generated by an internal Tomcat component (a Valve). > Where can I find its source? http://svn.apache.org/viewvc/tom

Tomcat JSF custom error page

2007-12-27 Thread David Segall
I have, after hours of trial and error, managed to persuade Tomcat to use my custom error page in a Java Server Faces application. Now that I have solved the problem I would like to know where I could have looked to find the answer. In case someone finds this page via a web search I should

default 500 error page by tomcat

2007-12-27 Thread GF
Hello, when some of my Java application raises an uncatched exception, I got a "error 500" page generated by Tomcat that show me exception stacktrace and things like that. I know that i can customize it setting error-page parameter in the web.xml. But I want to know where to find the &q

Re: SV: FORM login, would like error page same as login page

2007-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ognjen, Ognjen Blagojevic wrote: > var results = regex.exec(window.location.href); Yeah, that's certainly not going to work when a server-side forward. I'm glad you found another solution! - -chris -BEGIN PGP SIGNATURE- Version: GnuPG

Re: SV: FORM login, would like error page same as login page

2007-11-16 Thread Ognjen Blagojevic
Hi Christopher, Christopher Schultz wrote: Please post the code that checks for this parameter. Here is the code: function getUrlParameter(name) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]" + name + "=([^&#]*)"; var regex = new RegExp(regexS

Re: SV: FORM login, would like error page same as login page

2007-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ognjen, Ognjen Blagojevic wrote: > Wilhelmsen Tor Iver wrote: > Yes, I'm using JavaScript. > > I beleive that JavaSrcipt it is okay, because when I try the page alone > (/login.html?err=1), it works just fine. Please post the code that checks for th

Re: FORM login, would like error page same as login page

2007-11-15 Thread Ognjen Blagojevic
Wilhelmsen Tor Iver wrote: to see what the real URL is when you expect it to use the error page; most likely that will be the URL of the resource that triggered the authentication in the first place. Yes, the url returned is http://localhost:8080/myapp/j_security_check So the parameters

Re: FORM login, would like error page same as login page

2007-11-15 Thread Wilhelmsen Tor Iver
> I beleive that JavaSrcipt it is okay, because when I try the page alone (/login.html?err=1), it works just fine. Thinking more about it, the form-error-page reference is just used server-side via internal include or forward to obtain content returned for a different URL: Since the p

Re: SV: FORM login, would like error page same as login page

2007-11-15 Thread Ognjen Blagojevic
Wilhelmsen Tor Iver wrote: So, I created login.html, with username and password fields, and if parameter err=1 is passed, then the error message is displayed. How do you pick up the parameter in the HTML? Using JavaScript? Remember *.html resources are usually not parsed server-side in any way.

SV: FORM login, would like error page same as login page

2007-11-15 Thread Wilhelmsen Tor Iver
> So, I created login.html, with username and password fields, and if parameter err=1 is passed, then the error message is displayed. How do you pick up the parameter in the HTML? Using JavaScript? Remember *.html resources are usually not parsed server-side in any way. --

FORM login, would like error page same as login page

2007-11-15 Thread Ognjen Blagojevic
Hi all, I'm using FORM login, and I'm trying to make error page looks the same as login page, with one extra error message. So, I created login.html, with username and password fields, and if parameter err=1 is passed, then the error message is displayed. My web.xml configurati

RE: [Realm]Error page of Digest authentication?

2007-11-14 Thread zhongliang zhang
First of all,thanks for your replying. I have try that way,and acturally,I always configure customized error page when I developed web application. But it seems that the digest authentication was done by tomcat,which means it has not entered my application yet.so,the customized error page is

Re: [Realm]Error page of Digest authentication?

2007-11-14 Thread Lionel Crine
I input the wrong username and password for 3 times,then the page redirect to the tomcat-specific error page. I want to know whether there is a way to configure my own error page to show friendly error message that defined by myself,for tomcat-specific error page is a bit simple and not transfer

[Realm]Error page of Digest authentication?

2007-11-13 Thread zhongliang zhang
Hi, I am using Tomcat JDBCRealm to authenticate the use that stored in the database(Oracle).While when I input the user name and password to log in my application,if I input the wrong username and password for 3 times,then the page redirect to the tomcat-specific error page. I want to know

Re: Default error page

2007-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arend, Arend P. van der Veen wrote: > The problem is that I must include seperate entries > for each error-code. Is there a way of catching all of the errors with > one error code? No. > I have the same question for exception catching. Yes:

Default error page

2007-09-10 Thread Arend P. van der Veen
Hi, I have been looking through the documentation to see if it is possible to change the default error pages in tomcat. For example, I currently have entries like 404 /error.html in my web.xml file. The problem is that I must include seperate entries for each error-code. Is

Re: Error-page directive not working

2007-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, Neil Aggarwal wrote: > When I load that url, I get an error in the tomcat log > but the error page does not come up on the browser. What /do/ you get in the browser? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (M

Error-page directive not working

2007-09-10 Thread Neil Aggarwal
Hello: I added this error-page directive in my web.xml for an app I am developing using Struts 2: java.lang.Exception /error.action The error.action exists and loads correctly: http://cbsweb.jammconsulting.com/cbsweb/error.action I then created a jsp which throws an exception

RE: Error Page problems

2007-09-07 Thread Caldarale, Charles R
> From: ryoung5367 [mailto:[EMAIL PROTECTED] > Subject: Error Page problems > > I noticed that I no longer get the standard Tomcat message on > 404's, but I get a 404 error in the browser. Are you using Internet Explorer? If so, it won't display short error pages f

Error Page problems

2007-09-07 Thread ryoung5367
find the error.html, but no matter where I put it I get the same results. Where would it normally look for that file? I have searched the forum and google, but can not find my answer. Any help would be appreciated. Thanks in advance Rob -- View this message in context: http://www.nabble.com/

Re: A Global Error Page (JSP or JSF)

2007-08-24 Thread samk
It works most of the time but sometimes it doesn't for no discernible reason. :( One of life's great mysteries that I am looking in to. In Response To: Hi Chris, I guess you're question pointed to Sam, right? Anyways, that's also what I think. According to the specs a *noncaught* exception

Re: A Global Error Page (JSP or JSF)

2007-08-24 Thread Gregor Schneider
Hi Chris, I guess you're question pointed to Sam, right? Anyways, that's also what I think. According to the specs a *noncaught* exception should trigger the errorpage At least here it's working as expected ;) Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526

Re: A Global Error Page (JSP or JSF)

2007-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, [EMAIL PROTECTED] wrote: > however, sometimes for errors (like trying to access > a null object) the page is not invoked but there's a stack trace in > the logs. Is it possible that the exception is being caught and logged before it can fall

Re: A Global Error Page (JSP or JSF)

2007-08-23 Thread samk
That's exactly what I have done. I have even tested it by having a servlet do a int i = 500/0; which causes a 500 error and a divide by zero exception which invokes the page correctly with the error and the stack trace; however, sometimes for errors (like trying to access a null object) the page

Re: A Global Error Page (JSP or JSF)

2007-08-23 Thread Gregor Schneider
try to put something like this into your web.xml (i hope that is what you've been asking for): java.lang.Throwable /errorPages/generalError.html That page should just display some message like "general error occured, please report to webmaster... ". The error itself you then sho

Re: A Global Error Page (JSP or JSF)

2007-08-23 Thread samk
example of global JSP (or JSF) error page that can be used to catch 500 errors genertaed by either servlets or jsps? Thanks. Sent from Techienuggets Netbeans IDE Forum: http://www.techienuggets.com/Detail?tx=11104 - To start a new

RE: customized error page for tomcat depending on code

2007-07-10 Thread Propes, Barry L
2:58 PM To: Tomcat Users List Subject: RE: customized error page for tomcat depending on code > From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Subject: RE: customized error page for tomcat depending on code > > I believe the webapp catches it prior to that, Chuck. If the weba

RE: customized error page for tomcat depending on code

2007-07-10 Thread Propes, Barry L
quare peg in a round hole." -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 2:58 PM To: Tomcat Users List Subject: RE: customized error page for tomcat depending on code > From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Subject:

RE: customized error page for tomcat depending on code

2007-07-10 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Subject: RE: customized error page for tomcat depending on code > > I believe the webapp catches it prior to that, Chuck. If the webapp catches the exception, then how could you expect Tomcat to process it? > And FYI, I tried

RE: customized error page for tomcat depending on code

2007-07-10 Thread Propes, Barry L
: Tuesday, July 10, 2007 1:25 PM To: Tomcat Users List Subject: RE: customized error page for tomcat depending on code > From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Subject: RE: customized error page for tomcat depending on code > > > java.sql.SQL

RE: customized error page for tomcat depending on code

2007-07-10 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Subject: RE: customized error page for tomcat depending on code > > > java.sql.SQLException.Exhausted ResultsSet > /chngctrl/500error.jsp > You don't really have a space in the middle of a class na

RE: customized error page for tomcat depending on code

2007-07-10 Thread Propes, Barry L
i.e. java.sql.SQLException.Exhausted ResultsSet /chngctrl/500error.jsp I've tested this to no avail...only the initial exception cause, the SQL Exception, will return the error to the error page. Not the specified error.

customized error page for tomcat depending on code

2007-07-10 Thread Propes, Barry L
someone else posted a similar topic the other day, but I didn't want to "thread-hijack" so I started this new topic. Anyone know of the error code number for an Exhausted ResultSet error? Or does it just fall under the generic 500 error series? i.e. like a page not found is 404 or forbidden sec

Re: web.xml error-page

2007-05-23 Thread SiSi'mon
atch a wide range of Exceptions in an error page, i > suggest you use a generic error page. The error page has access to the > Exception Object and can then include other JSP that show specific errors. > > As for informations in logs file, Exceptions thrown during process of > JSF out

Re: web.xml error-page

2007-05-23 Thread SiSi'mon
thanks, we are using all of these including > If you need to catch a wide range of Exceptions in an error page, i > suggest you use a generic error page. The error page has access to the > Exception Object and can then include other JSP that show specific errors. > > As for

Re: web.xml error-page

2007-05-23 Thread David Delbecq
If you need to catch a wide range of Exceptions in an error page, i suggest you use a generic error page. The error page has access to the Exception Object and can then include other JSP that show specific errors. As for informations in logs file, Exceptions thrown during process of JSF outputed

web.xml error-page

2007-05-23 Thread SiSi'mon
window if tomcat encounters any kind of exception thrown by "org.apache.myfaces.*" but I do not know how to use wildcards in the web.xml file for error pages. It seems like the error-page tag needs a fully qualified exception class and the following will not work.

Re: displaying customized error page in tomcat 5.5.12

2007-05-20 Thread Abdul Qayyum
7;s different with Tomcat 6 or Apache 2.2.) -- Len On 5/18/07, Tim Lucia <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Abdul Qayyum [mailto:[EMAIL PROTECTED] > > Sent: Friday, May 18, 2007 3:54 AM > > To: Tomcat Users List > > S

Re: displaying customized error page in tomcat 5.5.12

2007-05-19 Thread Len Popp
ECTED]> wrote: > -Original Message- > From: Abdul Qayyum [mailto:[EMAIL PROTECTED] > Sent: Friday, May 18, 2007 3:54 AM > To: Tomcat Users List > Subject: Re: displaying customized error page in tomcat 5.5.12 > > You are right Tim, > How I came to know about this m

Re: displaying customized error page in tomcat 5.5.12

2007-05-18 Thread Abdul Qayyum
07 3:54 AM > To: Tomcat Users List > Subject: Re: displaying customized error page in tomcat 5.5.12 > > You are right Tim, > How I came to know about this might explain why ! > > I changed my war file to ROOT.war as this is situation in our website's > tomcat. > Now

RE: displaying customized error page in tomcat 5.5.12

2007-05-18 Thread Tim Lucia
> -Original Message- > From: Abdul Qayyum [mailto:[EMAIL PROTECTED] > Sent: Friday, May 18, 2007 3:54 AM > To: Tomcat Users List > Subject: Re: displaying customized error page in tomcat 5.5.12 > > You are right Tim, > How I came to know about this might explain

Re: displaying customized error page in tomcat 5.5.12

2007-05-18 Thread Abdul Qayyum
um [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 17, 2007 12:08 PM > To: Tomcat Users List > Subject: Re: displaying customized error page in tomcat 5.5.12 > > Hi Tim, > Thanks for that explanation. > We are not using any web server, so, I cannot configure in httpd file. > >

RE: displaying customized error page in tomcat 5.5.12

2007-05-17 Thread Tim Lucia
gt; Subject: Re: displaying customized error page in tomcat 5.5.12 > > Hi Tim, > Thanks for that explanation. > We are not using any web server, so, I cannot configure in httpd file. > > I resolved the problem using the same tag. I have placed my > custom error page in webapps/

Re: displaying customized error page in tomcat 5.5.12

2007-05-17 Thread Abdul Qayyum
Hi Tim, Thanks for that explanation. We are not using any web server, so, I cannot configure in httpd file. I resolved the problem using the same tag. I have placed my custom error page in webapps/ROOT directory. Thanks for your support. On 5/17/07, Tim Lucia <[EMAIL PROTECTED]>

RE: displaying customized error page in tomcat 5.5.12

2007-05-17 Thread Tim Lucia
> -Original Message- > From: Abdul Qayyum [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 17, 2007 2:01 AM > To: Tomcat Users List > Subject: Re: displaying customized error page in tomcat 5.5.12 > > Hi Tim Lucia, > > >>I'm guessing you can ad

Re: displaying customized error page in tomcat 5.5.12

2007-05-16 Thread Abdul Qayyum
Hi Tim Lucia, I'm guessing you can add a global error-page to Tomcat's conf/web.xml, but then it would apply to all apps on the server. This may or may not work for you. This is my target. If my tomcat recieves a context which is not in my tomcat, it should send customised

RE: displaying customized error page in tomcat 5.5.12

2007-05-16 Thread Tim Lucia
In order for the custom error page to be used, the application must be deployed. I.e., Tomcat can give a custom 404 for /mycontext/badpagerequested.jsp but if there is no context "/mycontext" because the app is not (yet) deployed, Tomcat cannot know about your custom error page. I'

displaying customized error page in tomcat 5.5.12

2007-05-16 Thread Abdul Qayyum
. Is it possible to customise the 503 / 404 page, so that, for any resource not found issue, tomcat displays the customised page. That is if the web application is not presents in tomcats web apps directory, tomcat should display this customised error page. I found that usually custom error pages

Re: error-page and TC 5.5.23

2007-05-10 Thread David Smith
person to 'discover' this bug. That's why I was asking around here first. But, perhaps you have enboldened me. ;) -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 10:41 AM To: Tomcat Users List Subject: Re: error-page and T

RE: error-page and TC 5.5.23

2007-05-10 Thread gb1071nx
e that after all this time, I'm the first person to 'discover' this bug. That's why I was asking around here first. But, perhaps you have enboldened me. ;) > -Original Message- > From: David Smith [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 10, 2007 1

Re: error-page and TC 5.5.23

2007-05-10 Thread David Smith
t;part of the spec, but who cares". I just want a response from someone with the power to fix it, that it will be fixed (or not). -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 10:20 AM To: Tomcat Users List Subject: Re: error-pa

RE: error-page and TC 5.5.23

2007-05-10 Thread gb1071nx
x27;t work" or: "part of the spec, but who cares". I just want a response from someone with the power to fix it, that it will be fixed (or not). > -Original Message- > From: David Smith [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 10, 2007 10:20 AM >

Re: error-page and TC 5.5.23

2007-05-10 Thread David Smith
he problem? -Original Message- From: gb1071nx [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 2:22 PM To: Tomcat Users List Subject: RE: error-page and TC 5.5.23 I'm just adding to this: When I remove the mapping for the error-code 500, then I get the standard tc5.5 err

RE: error-page and TC 5.5.23

2007-05-10 Thread gb1071nx
Is this just a boring question, or has no-one else run into the problem? > -Original Message- > From: gb1071nx [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 08, 2007 2:22 PM > To: Tomcat Users List > Subject: RE: error-page and TC 5.5.23 > > I'm just ad

RE: error-page and TC 5.5.23

2007-05-08 Thread gb1071nx
I'm just adding to this: When I remove the mapping for the error-code 500, then I get the standard tc5.5 error page. So my exception-type error-page directive is being ignored. So it does appear that http://issues.apache.org/bugzilla/show_bug.cgi?id=37062#c4 isn't fixed. And won&

<    1   2   3   4   >