if i give a code like this-->isErrorpage="false" what will happen
senthil sen
Ranch Hand
Joined: Oct 10, 2002
Posts: 182
posted
0
if i give a code like this-->isErrorpage="false" what will happen? will the errorpage be included if i try to include in to this page??
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 11862
posted
0
As I understand it, the isErrorPage attribute controls the code generated for the JSP. If true the code has to provide for creating the "exception" variable, so I suppose setting it false makes the JSP code simpler. This kind of question can be answered in the Servlet and JSP API docs that you can find on java.sun.com as PDF files. Bill
isErrorPage=false is actually default for all jsp pages. if you wanna use your jsp page as an error page you have to set isErrorPage=true. by doing so you will also be able to get the thrown exception by means of exception variable. [ January 20, 2003: Message edited by: Asher Tarnopolski ]
Asher Tarnopolski
SCJP,SCWCD
subject: if i give a code like this-->isErrorpage="false" what will happen