File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Blank page on login.jsp (SOMETIMES) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Blank page on login.jsp (SOMETIMES)" Watch "Blank page on login.jsp (SOMETIMES)" New topic

Blank page on login.jsp (SOMETIMES)

Rodrigo Galkys

Joined: Jan 10, 2008
Posts: 1

I've an applicattion running on Tomcat server.

When I call to the login.jsp page, sometimes I receive the page... but sometimes, I receive a blank page.

So, I have to close my browser or reload the page... but it doesn't solve my problem every time...

Does anybody know wich is the problem ???

Thanks !
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Have you ever verified that, when this happens, there really isn't anything in the page? Have you used the browser's 'view source' feature to see if there is any HTML at all?

Often the JSP is working fine but an error in the HTML (an unescaped quote in some dynamic text, for instance) will prevent the page from rendering.

If the source is indeed blank, have you looked at the Tomcat logs to see if any exceptions are being thrown?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Blank page on login.jsp (SOMETIMES)
It's not a secret anymore!