Re: Error page problems with Tiles

2004-02-19 Thread Mark Lowe
global-forwards forward name=error path=/error.jsp / /global-forwards in your action you can forward to error in the event that something's gone pear-shaped. On 19 Feb 2004, at 01:58, Russ Baker wrote: I am having a real issue with the way Tiles handles an error page. I am setting up

RE: Error page problems with Tiles

2004-02-19 Thread Johnson, Gary
/Error500Page.jsp/location /error-page -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 3:19 AM To: Struts Users Mailing List Subject: Re: Error page problems with Tiles global-forwards forward name=error path=/error.jsp / /global-forwards

Re: error-page does not work with IOException?

2004-01-30 Thread Martin Cooper
Um, you might want to try java.io.IOException instread of java.lang.IOException... ;-) -- Martin Cooper Song Qiu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I use error-page to do global error handling. It works perfectly for ServletException. I can see the eror page displayed

RE: error-page does not work with IOException?

2004-01-30 Thread Song Qiu
: Re: error-page does not work with IOException? Um, you might want to try java.io.IOException instread of java.lang.IOException... ;-) -- Martin Cooper Song Qiu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I use error-page to do global error handling. It works

RE: error-page does not work with IOException?

2004-01-30 Thread Hookom, Jacob
' Subject: RE: error-page does not work with IOException? It's a typo in the email. But I did use java.io.IOException in the error-page. It just give me the blank page back. Thanks. Song -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Martin Cooper Sent: Friday, January 30

RE: error-page does not work with IOException?

2004-01-30 Thread Song Qiu
] Sent: Friday, January 30, 2004 1:55 PM To: Struts Users Mailing List Subject: RE: error-page does not work with IOException? Why don't you simplify the problem and have it go to an html page. We had a problem where a forwarding jsp page had errors, resulting in a blank page

RE: error-page does not work with IOException?

2004-01-30 Thread Gopalakrishnan, Jayesh
-Original Message- From: Song Qiu [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 4:12 PM To: 'Struts Users Mailing List' Subject: RE: error-page does not work with IOException? No, I can't. The GenericErrorForward.jsp adds some parameters to the request and forwards the request

RE: error-page does not work with IOException?

2004-01-30 Thread Song Qiu
-Original Message- From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 4:21 PM To: Struts Users Mailing List Subject: RE: error-page does not work with IOException? Just as a test, forward to a HTML page. May be the blank page is because

RE: error page

2003-09-26 Thread Madhu Nair
Use the exception handler provided by Struts and extend it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 7:17 PM To: [EMAIL PROTECTED] Subject: error page Hi all, I would like to display an error page if some weird exception

RE: error page

2003-09-26 Thread Fenderbosch, Eric
Actually, that's part of the Servlet spec, not even Struts. You could add something like this to your web.xml: error-page error-code500/error-code location/500.jsp/location /error-page -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 26,

RE: error page

2003-09-26 Thread harm
Thanks for your suggestion. But how exactly should I do this? Madhu Nair [EMAIL PROTECTED] 09/26/2003 03:52 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To Struts Users Mailing List [EMAIL PROTECTED] cc Subject RE: error page Use the exception handler provided

RE: Error page will not display using dynaForm

2003-01-22 Thread Durham David Cntr 805CSS/SCBE
There's not enough information here to say exactly what is going on. Are you sure that ERROR page isn't blank? Post the error jsp and the stuts-config mapping. -Original Message- From: Steven Banks [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 7:10 AM To: [EMAIL

RE: error page

2003-01-13 Thread Mark Galbreath
My first thought is that if you are testing for null, you will never trap an error. Form objects are passed as Strings - empty or not. Test for titleField.length() 0 rather than != null. Mark -Original Message- From: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED]] Sent: Monday, January

RE: error page

2003-01-13 Thread Zhang, Larry (L.)
Galbreath [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 1:05 PM To: 'Struts Users Mailing List' Subject: RE: error page My first thought is that if you are testing for null, you will never trap an error. Form objects are passed as Strings - empty or not. Test for titleField.length

Re: Error Page and Struts+Tiles

2002-11-14 Thread atta ur-rehman
Could you please explain it in a little more detail? I'm stuck! Regards, ATTA - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 13, 2002 11:31 PM Subject: Re: Error Page and Struts+Tiles 2002. november

Re: Error Page and Struts+Tiles

2002-11-14 Thread Gemes Tibor
2002. november 14. 22:59 dátummal atta ur-rehman ezt írtad: Could you please explain it in a little more detail? I'm stuck! If a tile produces only a table-cell into the layout, the errorpage should do so as well. If a layout produces only a part of the whole layout, the errorpage should do

Re: Error Page and Struts+Tiles

2002-11-13 Thread Gemes Tibor
2002. november 14. 03:12 dátummal atta ur-rehman ezt írtad: Dear all, It seems that errorPage page directive doesn't work if we have struts and tiles. Is it so? If yes, how do a get equivalent functionality. I always get an InvlaidStateException that says that server can't take me to error

RE: Error Page Get OverRide by IE error page???

2002-07-17 Thread James Mitchell
Let's see your errorcode in the web.xml. type and version of container ...these things always help us James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Struts

RE: Error Page Get OverRide by IE error page???

2002-07-17 Thread John Reid
Does anybody knows why that my error page and errorcode specified in my web.xml does take affect in IE. Works perfectly fine in Netscape. Hi This is an Explorer issue. Choose Tools - Internet Options from the IE menu. Click the 'Advanced' tab. Scroll down a little and uncheck the box

Re: Error-page problem with Tiles

2002-03-21 Thread Cedric Dumoulin
Hello, It looks like the web server do an error catching on a request basis rather than on a include basis. When you use the server general mechanism, via a declaration in web.xml, the exception is catch by the top level page where the request start. As Tiles insert mechanism catch any

Re: error-page in web.xml and 404 HTTP error

2001-11-20 Thread Steve Zhang
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app ... after session-config error-page error-code404/error-code location/servlet/package.ErrorHandlerServlet?code=404/location /error-page before tablib

RE: error-page in web.xml and 404 HTTP error

2001-11-20 Thread VEDRE, RANAPRATAP REDDY
To: Struts Users Mailing List Sent: 11/20/2001 1:43 PM Subject: Re: error-page in web.xml and 404 HTTP error !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app ... after session-config error-page error

Re: error-page in web.xml and 404 HTTP error

2001-11-20 Thread Dmitri Colebatch
On Tue, 20 Nov 2001, Steve Zhang wrote: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app ... after session-config error-page error-code404/error-code

Re: error page

2001-08-10 Thread Pham Thanh Quan
You could declare your error page inside an action mapping in the file struts-config.xml as follow actionpath=.. type=... name=... scope=request input=Your_error_page_here /action and it will forward to Your_error_page_here

RE: Error-page in web.xml

2001-07-10 Thread Norman Timmler
that's a interesting point. any experieence about orion-server? -Original Message- From: Ryan Cornia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 4:49 PM To: [EMAIL PROTECTED] Subject: Error-page in web.xml I'm hoping someone can help me understand this better. In web.xml, I