This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSP and the fly likes Inline Frames in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Inline Frames in JSP" Watch "Inline Frames in JSP" New topic
Author

Inline Frames in JSP

Dilshan Edirisuriya
Ranch Hand

Joined: Apr 22, 2006
Posts: 299
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?


Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41630
    
  55
but it doesnt work

What does this mean? How does the HTML generated by the JSP differ from the HTML you created by hand?


Ping & DNS - my free Android networking tools app
Dilshan Edirisuriya
Ranch Hand

Joined: Apr 22, 2006
Posts: 299
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

Joined: Jun 27, 2002
Posts: 401
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


comp.lang.javascript FAQ: http://jibbering.com/faq/
Dilshan Edirisuriya
Ranch Hand

Joined: Apr 22, 2006
Posts: 299
Thank you Garrett
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inline Frames in JSP