This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Rudy Rusli
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64608
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is any HTML source being delivered to Mozilla?
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Rudy Rusli
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64608
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the caption bar change to "my Page"?

If so, the frameset is loading, but not the frames.
 
Rudy Rusli
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64608
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do the framed pages appear correctly if you address them directly?
 
Rudy Rusli
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 -
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic