The moose likes HTML, CSS and JavaScript and the fly likes JSP file not showing frames. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JSP file not showing frames." Watch "JSP file not showing frames." New topic

JSP file not showing frames.

Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146
I am facing a strange problem with JSP. I made a file Testing.jsp which calls two other JSP files in different frames.

The files that it calls run well independently. But when I run this file nothing is displayed,not even any error.
What may be the reason? Please help.
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
Remove the body tag from the frame declaration jsp and try


Sarath Mohan
Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146
Thanks Sarath it works.
P Khan

Joined: Apr 19, 2005
Posts: 1
Hi Abhishek,

Can you tell me why you have DepotID=DEPOTID in your
<frame src="DepotManagerTreeView.jsp?DepotID=DEPOTID1" target='content'> tag?

I'm new to using Frames and I have situation in which from a left frame I'm displaying regions say DEV, QUA, Training, etc etc. If the user selects DEV, I have to pull a record from database based on region id i.e. DEV this time around and display it on the right frame.

Of course, Regions displaying in left frame should be clickable i.e. will have a link.

I don't know how to approach to this issue. So far, I have a simple plain .html file with two frames. In this file, within left FRAME, I'm calling another file called RBUtilityMain.jsp which will do a query to database and display in left frame.

Any help or idea would be greatly appreciated.

I agree. Here's the link:
subject: JSP file not showing frames.
It's not a secret anymore!