This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 56180
    
  13

Is any HTML source being delivered to Mozilla?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 56180
    
  13

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: 56180
    
  13

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JSP Page done loading but no data displayed (in mozilla).
 
Similar Threads
NotSerializableException
Getting ERROR 503 Service not Deployed
SocketConnection error in tomcat
java.net.SocketException: Broken pipe in Tomcat
communication link failure issue