File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSP Page done loading but no data displayed (in mozilla). 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 » JSP
Bookmark "JSP Page done loading but no data displayed (in mozilla)." Watch "JSP Page done loading but no data displayed (in mozilla)." New topic
Author

JSP Page done loading but no data displayed (in mozilla).

Rudy Rusli
Ranch Hand

Joined: Jun 01, 2006
Posts: 114
I have some problem with my JSP pages. This problem occurs in Mozilla but not in IE
I have links on the top of the page. Example: "Link to page A | Link to page B | Link to page C"

When I click the link in mozilla sometimes the page is done loading but it only says "done" in the status bar but no data displayed (blank page). I don't know why this doesn't happen when I use Internet Explorer.

In the tomcat log, I saw these lines below around at the same time. But I'm not quite sure whether it has something to do with the problem. I'm wondering if anyone had this kind of problem Could somebody please advice? Thanks in advance for the help.

--------------------------------------------------------------------------------------------------------------------

2006-10-09 16:58:32,785 [TP-Processor18] WARN org.apache.jk.core.MsgContext - Error sending end packet
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:518)
at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:112)
at org.apache.jk.core.MsgContext.action(MsgContext.java:293)
at org.apache.coyote.Response.action(Response.java:182)
at org.apache.coyote.Response.finish(Response.java:304)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:204)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2006-10-09 16:58:32,785 [TP-Processor18] WARN org.apache.jk.common.ChannelSocket - processCallbacks status 2
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Is any HTML source being delivered to Mozilla?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
When I click the link in mozilla sometimes the page is done loading but it only says "done" in the status bar but no data displayed (blank page). I don't know why this doesn't happen when I use Internet Explorer.

looks like a stylesheet/HTML issue to me. Did you have a look at the generated HTML source?


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Rudy Rusli
Ranch Hand

Joined: Jun 01, 2006
Posts: 114
Thanks for the reply.

Actually I haven't looked at the HTML source when the blank page appears. I usually do a refresh page once and then the page comes back. Let me take a look at the HTML source first then. I'll let you guys know.

Thanks again
- Rudy -
Rudy Rusli
Ranch Hand

Joined: Jun 01, 2006
Posts: 114
This is the HTML source.
I have two frames in the index page. This is what I actually expect to see in the data source.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Does the caption bar change to "my Page"?

If so, the frameset is loading, but not the frames.
Rudy Rusli
Ranch Hand

Joined: Jun 01, 2006
Posts: 114
Yes, it is.

Is there anything I can do about this?
Is this mozilla issue or something wrong in my jsp code?

Thanks
- Rudy -
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Do the framed pages appear correctly if you address them directly?
Rudy Rusli
Ranch Hand

Joined: Jun 01, 2006
Posts: 114
Sorry, I just got a chance to get back to this problem.
Actually when the frame page address directly, they are okay.

But I found that when I give 80% view to the first page and 20% view for the second page. I can see when this problem is happening, the second page always reloads okay but not the first page.

Currently, I'm trying to figure out whether I have a bug in my first page.

Thanks again for all the help.
- Rudy -
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP Page done loading but no data displayed (in mozilla).
 
Similar Threads
java.net.SocketException: Broken pipe in Tomcat
NotSerializableException
Getting ERROR 503 Service not Deployed
SocketConnection error in tomcat
communication link failure issue