I want to throw an exception that I wrote, from within a JSP page. How do I do it? Do I have to declare a throws MyOwnException somewhere?
Frank Steidinger You can throw any exception you like from within your JSP page without the need to declare a throws clause. In fact you can't declare a throws clause for a JSP -- any exception thrown by code within your JSP that you don't catch within that page is handled by the JSP Container and sent to the error page, which can be indicated via the page tag.