File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Causes for Blank page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Causes for Blank page?" Watch "Causes for Blank page?" New topic

Causes for Blank page?

Judy Liddle

Joined: Sep 28, 2000
Posts: 8
My servlet is running, and not producing a page, just a blank screen. Im using JRUN and nothing is being logged to stdout.log.
(I had a test print mesg for when it starts)
I checked this site for a reason, and found that it could be from using instance variables inside my doPost. I am only using local variables.
Any suggestions?
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
Please post as your code so we can try and help you.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12675
Well, a blank screen is better than a 404 or 500 error so you are getting somewhere. What I would do first is "view source" to see what is actually being returned to your web browser.

author of:

Java Resources at
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
A blank screen may be due to some exception which is caught by your code, but NO ACTION for that catch. In other words,

maha anna
I agree. Here's the link:
subject: Causes for Blank page?
Similar Threads
XML/XSL Transformation to HTML problem
MyFaces Sitemesh Problem
how to embed audio file in webpage?
Filter Error Page
onchange event of drop down list - problem F1 pls