aspose file tools*
The moose likes JSP and the fly likes iFrame related topic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "iFrame related topic" Watch "iFrame related topic" New topic
Author

iFrame related topic

Ashutosh Arya
Ranch Hand

Joined: Oct 07, 2008
Posts: 69
Hi,

I am using below tag

<iframe class="abc" src="javascript:'& lt;html& gt;& lt;/html& gt;';" scrolling="no" frameborder="0"></iframe>

But when the page is rendered and I do a view source it is being rendered as <iframe class="abc" src="javascript:'<html& gt;</html& gt;';" scrolling="no" frameborder="0"></iframe>
which is breaking other code.

Can we get/render this as '>' in place of this '& gt;' when used with iFrame?

Note: I have intentionally put space between '&' 'gt' so that I can display the issue.

Thanks in advance.

Ashu
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

Ashutosh Arya wrote:Note: I have intentionally put space between '&' 'gt' so that I can display the issue.

I still have no idea what you are after. What do you intend for the src value to be?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
Can yoy show your full code and how it is looking after breaking.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

Miku Ranjan wrote:Can yoy show your full code and how it is looking after breaking.

Please do not. It's not necessary to see much more and it'll just confuse the issue. Please initially just show us what you intend for the value of the src attribute to be.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iFrame related topic
 
Similar Threads
how to append variable in JSP link
iframe src='BLOCKED SCRIPT'
accessing iframes
DWR; javascript files not found
Is it possible to write javascript to display files in textarea?