File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes page shows blank but view source shows data , in IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

page shows blank but view source shows data , in IE

Hd Desai
Ranch Hand

Joined: Aug 04, 2003
Posts: 65

I am having strange problem with my application.

When i run the application, it display blank page , but when we look into view source of that page we are able to see data.

I am using struts.

I am using IE 6 and my OS is win xp.

Pls help me in this regard.

Henrique Sousa
Ranch Hand

Joined: Apr 29, 2004
Posts: 92
Hi Sejal,

I had that kind of problem before, and fortunately it really was not related to JSP: I had a malformed HTML code. Try to copy the page source code (the one that you see with view source code command in your browser) and paste it to some HTML or XML editor.
In that same line of thought, check if you have an unclosed script session. That would be a real killer for your HTML code. That's all I can say from what you informed so far. Regards

Henrique Sousa<br />SCJP 1.4<br /> <br />All men die, not all men really live - Braveheart, 1995
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Moved to HTML/Javascript.

[Asking smart questions] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
closing topic: continue here:

Please do not cros post!
I agree. Here's the link:
subject: page shows blank but view source shows data , in IE
It's not a secret anymore!