aspose file tools*
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
Marshal

Joined: Mar 22, 2005
Posts: 42635
    
  65
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: 61657
    
  67

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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Inline Frames in JSP