This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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

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: 63195
    
  69

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Inline Frames in JSP
 
It's not a secret anymore!