• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frameset In jsp

 
Vivek Kr Agrawal
Ranch Hand
Posts: 51
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vivek Kr Agrawal
Ranch Hand
Posts: 51
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use CSS positioning to partition parts of a single plage rather than a frameset to partition multiple subpages.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic