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


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 56219
    
  13

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?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 56219
    
  13

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: iFrame related topic
 
Similar Threads
iframe src='BLOCKED SCRIPT'
accessing iframes
how to append variable in JSP link
DWR; javascript files not found
Is it possible to write javascript to display files in textarea?