[jboss-user] [JBoss Portal] - Multi-iframes in one jsp page

yegaofei888@sohu.com do-not-reply at jboss.com
Wed Nov 1 04:13:52 EST 2006


I am using jboss-4.0.3SP1 and jportal-2.2.0. And my job is transferring an existing struts web application to a jportal web application. So I used apache portal struts bridge. 

Now I meet a problem about iframe. There is a jsp page which contains more than one iframes(use html tag <iframe src=??.?> ). So the jsp page code looks like this:

 

  | ???
  | 
  |  <iframe id=?frameA? src=?URLa?> </iframe>
  | 
  | <iframe id=?frameB? src=?URLb?> </iframe>
  | 
  | <iframe id=?frameC? src=?URLc?> </iframe>
  | 
  | ???..
  | 
 

When I enter in this jsp page, it should show three iframes, which contain different pages. But, mostly, the iframeC just show blank. iframeB show the page which comes from URLa, and iframeA show the page which comes from URLa. Sometimes, iframeB and iframeA will show the page which comes from URLb. I checked all of the logs, no error or exception has been thrown. 

 

I think the reason maybe that when I enter this jsp page, those iframes will send three requests to the jboss server at the same time. But jobss server can only handle one request at the same time. So it will send the same response to those iframes. I am not sure if it is the correct reason. So I need your help. Thanks!!

 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982316#3982316

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982316



More information about the jboss-user mailing list