wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes display blank page , but in view source we can see data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "display blank page , but in view source we can see data" Watch "display blank page , but in view source we can see data" New topic
Author

display blank page , but in view source we can see data

Hd Desai
Ranch Hand

Joined: Aug 04, 2003
Posts: 65
Hi,

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 IE 6 and my OS is win xp.

Pls help me in this regard.

Thnx
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
are you embeding JavaScript into the page?

Are you closing he tag </script> like that and not />

I can not tell you what else could be wrong without seeing your rendered code.

Eric
Adrian Enns
Ranch Hand

Joined: Aug 11, 2004
Posts: 48
Please show us your code... You might want to try placing the following at the beginning of your JSP:

<%@page contentType="text/html %>"
Adrian Enns
Ranch Hand

Joined: Aug 11, 2004
Posts: 48
Oops, I meant:

<%@page contentType="text/html" %>
 
 
subject: display blank page , but in view source we can see data
 
Similar Threads
RequestDispatcher working, but ultimately sends an empty HTML page to client
XML/XSL Transformation to HTML problem
Page not displaying
HTML page comes BLANK in web Brwoser
page shows blank but view source shows data , in IE