Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inline Frames in JSP

 
Dilshan Edirisuriya
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used an inline frame in jsp but it doesnt work. But that same html coding is perfectly works in the html file. Is there anything i should do?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but it doesnt work

What does this mean? How does the HTML generated by the JSP differ from the HTML you created by hand?
 
Dilshan Edirisuriya
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For both html and jsp i used the same coding. I used yahoo sliding menu component. When i click a link in it i want to display the appripriate content in iframe. It works well in html but when i copy that to a jsp it doesnt display the content.
When i remove the "target" attribute it works perfectly. The content appears in a new page.
 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make a test case with an iframe. Simple. Make it work. Additively build up your code.

OR

Compare the source of the JSP to the source of the raw HTML. You can use examdiff for this.

Regards,

Garrett
 
Dilshan Edirisuriya
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Garrett
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Garrett Smith:
Compare the source of the JSP to the source of the raw HTML. You can use examdiff for this.


Comparing sources will not help. Compare the rendered JSP to the HTML version.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic