cancel
Showing results for 
Search instead for 
Did you mean: 

Including Html Pages in Web Dynpro java

Former Member
0 Kudos

hello Experts,

_i want to include html page in webDynpro java view so i need to know_

1)where we need to include the html file

2)should i creat it externally and then include

3)or is there any specific place in project to include the HTML code.

4)also can u tell how to include a vidio in html page i got some tutorial but with that its not working fine saying check specified path....

<div style ="height:1500;width:1500 align=right">

<video width="320" height="240" controls="controls">

<source src="movie1.avi" type="video/avi" />

<object data="movie1.avi">

<embed src ="movie1.avi">

</embed>

</object>

</video>

Please HELP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Any kind of external files can be saved in the mimes folder under your component name. Address the path in your webdynpro after Component name.

For HTML and Video you can use the iFrame component. Never tried video myself.

Former Member
0 Kudos

hello

,It works,..........

choose a iframe ui element

> then copied the html file in the mine folder > components > package folder

> the assign assign the html file name to the iframe resource file it will work fine.

Answers (2)

Answers (2)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert

I added a working example here:

Former Member
0 Kudos

Hi Ervin Szolke,

                  any possible to add CSS and JAVA script in Webdynpro java..

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

70X - I am not sure it is possible.

71X and higher - use WebWidget

Cheers,Ervin

Former Member
0 Kudos

thanks ervin

Former Member
0 Kudos

REsolved !! u can also try if any issue reply

Former Member
0 Kudos

Hi Prajakta,

I need some help regarding embedding html page to wd java application.

I have done all the steps as mentioned by You above, but IFRAME does not show the ui's of html page in the view section.Do i need to run the WD application  in order to see the html content?

html page contains some input fields and buttons and images.

Please advice.

Chandra.

Former Member
0 Kudos

Hey Chandra,
                   Sorry for replying late i missed this mail .Yes please Deploy the WDJ application it will work.It wont appear in WDJ architecture.

Thanks.

Former Member
0 Kudos

Hello Prajakta, im using iframe with an external javascript but this dont do anything in wich locations do you put your videos cause my javascript is inside the same address of my html file.

i dont know why the script dont do nothing pls help.

Former Member
0 Kudos

Hey Christopher,
                I was trying to include the video in WDJ application which is developed in NWDS.
So i cretaed a HTML page which will run the video teh code for which is written in the post .
Then this HTML file was included in the mime folder and the path was assighed to Iframe resource property.

         In your case, you can put the video on server where you are deploying and give the path.
Also can you tell me exactly how and where you want to include this video

Regads,
Prajakta k

Former Member
0 Kudos

hi Prajakta Khobaragade,

   I was trying to include the html file in WDJ application which is developed in NWDS 7.1.but its show error,Kindly see the screen shot.

Former Member
0 Kudos

Hi,
    I think the path you are providing is not correct.
Could you please paste the path here?

The error says he is not able to find the requested resource, might be because of path or the resouce is not in correct location ( i.e your HTML file in mime folder)

Regards,
Prajakta K

Former Member
0 Kudos

Hi

Kindly check the following Image,pls revert

Regards,

Antony.A

Former Member
0 Kudos

hi,
  please add  the path from /mimes/../..

Regards,
Prajakta k

Former Member
0 Kudos

any possible to add CSS and JAVA script in Webdynpro java..