File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes  integrating one xhtml in another xhtml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark " integrating one xhtml in another xhtml" Watch " integrating one xhtml in another xhtml" New topic
Author

integrating one xhtml in another xhtml

Anand Prasad Agasar
Greenhorn

Joined: May 03, 2011
Posts: 8
HI,
I need help in integrating one xhtml in another xhtml
I tried with sample code using <iframe> tag but the xhtml contains the java script etc. because of which error displayed when i run the application. Error: alert is displayed saying " your current security settings prohibit active-x control to run on your page.....
I would appreciate if i get any help on this soon.
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Use Java-script or Frames ........
Anand Prasad Agasar
Greenhorn

Joined: May 03, 2011
Posts: 8
Rather integrating , i am copying the code in the xhtml. But facing problem script error "object doesnt support this property or method.
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

can you show me the code?....
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Sticking a web page inside of an iframe does not prevent active-x from running. Does the page run by itself not in the iframe? Are you sure that the browser has its settings to allow active-x to run?

Eric
Anand Prasad Agasar
Greenhorn

Joined: May 03, 2011
Posts: 8
Hi John, Eric
Thanks for your reply. Its working now i placed the code in one file and named it as .html and using <iframe> adding that file in xhtml.
its working now
 
Consider Paul's rocket mass heater.
 
subject: integrating one xhtml in another xhtml