Response Inlined.
"EXT-Vaze, Vinay G" wrote:
>
> If I have a code block such as
>
> <%
> try {
>
> }
> catch (Exception e) {
e.printStackTrace(); //This should write the stack trace of the
exception to the console.
>
> }
> %>
>
> inside a JSP, how do I output error to either th
System.out.print() -> server console
out.print() -> HTML page
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of EXT-Vaze,
Vinay G
Sent: Wednesday, October 03, 2001 12:09
To: Orion-Interest
Subject: Displaying errors in JSP
If I have a code block s
1 13:21
> To: Orion-Interest
> Subject: RE: Displaying errors in JSP
>
>
> for the terminal, you can use
> System.out.println(e.getMessage()) in the
> catch phrase
>
> for the jsp, you will need to initialize some string variable
> in the catch
> block and th
]]On Behalf Of EXT-Vaze,
Vinay G
Sent: Wednesday, October 03, 2001 9:09 AM
To: Orion-Interest
Subject: Displaying errors in JSP
If I have a code block such as
<%
try {
}
catch (Exception e) {
}
%>
inside a JSP, how do I output error to either the browser or
to the server console ?
-
If I have a code block such as
<%
try {
}
catch (Exception e) {
}
%>
inside a JSP, how do I output error to either the browser or
to the server console ?
--
Vinay Vaze
M/S : 7H-80
Phone : (425)-865-2929
Email : [EMAIL PROTECTED]