JSP error trapping?

2005-04-05 Thread Tommy Wareing
I'm using 1.2.4, with Tiles. (I don't know whether Tiles is relevant, but you might as well know!) I've got type="java.lang.Exception" path="/WEB-INF/globalError.jsp"/> in my struts-config.xml, which catches exceptions in my Action classes, and redirects them to an er

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Tommy Wareing
On Tue, 5 Apr 2005 09:51:07 -0400, Jeff Beal <[EMAIL PROTECTED]> wrote: If all of your controls have the same name, a String[] form property works, also. (This isn't guaranteed to preserve any order, though.) Yes, I thought this too. Which would imply that if you have two controls in your form whi

Re: JSP error trapping?

2005-04-05 Thread Tommy Wareing
On Tue, 5 Apr 2005 10:45:59 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: There's really not much Struts can do at this point, because control has been transferred to the JSP. Yeah, thought that might be the case. About the best you can do is judicious application of the JSTL c:catch tag. That

Re: jsp error

2005-04-05 Thread Tommy Wareing
On Tue, 5 Apr 2005 18:01:06 +0200, Andreas Solarik <[EMAIL PROTECTED]> wrote: Hi Tom! Do you know about the errorpage directive for jsps? Would that help you? Its something along the lines of <%@ page contentType="text/html" language="java" errorPage="UncaughtJspError.jsp" %> hope that helps.