aspose file tools*
The moose likes JSP and the fly likes Frameset In jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Frameset In jsp" Watch "Frameset In jsp" New topic
Author

Frameset In jsp

Vivek Kr Agrawal
Ranch Hand

Joined: Sep 08, 2012
Posts: 51

My problem is very simple. I am calling two frames in my index.jsp and its simply not working. I am just gettin the blank page.
Here is my index.jsp.



header.jsp is



and again menu.jsp has similar content.
Thanks in advance.



Vivek Agrawal
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

Java scriptlets in JSP are obsolete. See this JspFaq entry. You should be using JSTL and EL.

Framests are also considered passé.

That said, do the pages display when displayed individually? Any errors in the logs? Empty responses are frequently a result of exceptions being thrown.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vivek Kr Agrawal
Ranch Hand

Joined: Sep 08, 2012
Posts: 51

Hey thanks...I missed to use code tags as I was in great rush.
I solved the problem, though I want to ask what is the best alternative for frames.
I am tired using it.
Any suggestion please.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

Use CSS positioning to partition parts of a single plage rather than a frameset to partition multiple subpages.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Frameset In jsp