Hi Christos,
Quick Question for you. Does your JSP page have an include in it?
Example:
Login.jsp
This page includes another jsp page called LoginForm.jsp.
Does your jsp page have this? If so, I've noticed that my pages will show
up blank if there is an error, where there is an include. Is this your
situation?
If so... because you are developing, the easiest way would be to call the
include jsp directly (http://localhost/xxx/LoginForm.jsp). This will then
give you the error in the browser.
I've noticed this in tomcat, as well as Java Web Server when i first used
that ages ago...
Hope this helps,
...Robin
----- Original Message -----
From: "Christos Karras" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 1:49 PM
Subject: tomcat 4.1 displays a blank page when compiling a JSP with
compilation errors
> On one of our Tomcat 4.1.12 servers, when someone requests a JSP page
> that has compilation errors, he gets a blank page instead of getting a
> tomcat generated page showing the compilation error. So we have to look
> in tomcat's logs to get the error message. That's nice for a production
> server, but I would like to have errors directly in the browser when
> developping.
>
> How can I enable error messages to be sent to the browser?
>
> Is hiding the error pages the normal default behavior? I have some
> Tomcat 4.1.12 servers (one per machine, development done on NT and
> production servers on linux) which have always sent jsp compilation
> error messages to the browser by default, while others only write the
> messages to logs.
>
> I tried the following:
> - set debug="1" to everything which has a debug parameter in server.xml
> - set jasper's "logVerbosityLevel" init-param to "DEBUG" (and left
> default values for other parameters)
>
> but still no error message shown in browser. Am I missing something in
> the documentation?
>
> Thanks
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>