Hello,
In CEA we use Apache to provide bob files from http.
Like that you can load bob files from http: instead of file:
Your URL would be
http://pcdbwr:8080/dbwr/view.jsp?display=http%3A%2F%2Fpcapache%2Fphoebus%2FTT472%2FView_TT472_RDC.bob¯os=%7B%7D
Then you can create an index.html in the "apache pc" containing an iframe or embed tag like that :
<embed id="display" src="http://pcdbwr:8080/dbwr/screen?display=http%3A%2F%2Fpcapache%2Fphoebus%2FTT472%2FView_TT472_RDC.bob¯os=%7B%7D" width="100%" height="100%">
</embed>
Regards
Loïc
-----Message d'origine-----
De : Tech-talk <tech-talk-bounces at aps.anl.gov> De la part de Hasan SANSAR via Tech-talk
Envoyé : jeudi 26 octobre 2023 15:03
À : tech-talk at aps.anl.gov
Objet : Display Builder Web Runtime HTML pages
Hi,
I have built dbwr and pvwr with tomcat9. For showing .bob files, dbwr is generating a html files that has like address:
http://192.168.56.11:8080/dbwr/view.jsp?display=file:/opt/bob/fpga.bob¯os=%7B%22S%22:%22Value%20One%22,%22N%22:%221%22%7D
I want to show html files in only iframes, I should use Content-Security-Policy frame-ancestors for this and, tomcat9 has not built-in CSP.
Could I run this html file with .bob files from another PC? I think that if I can publish html files from another PC, I can control permissions for showing pages.
I got html sources and changed href attribute of link tags, src attribute of script tags, window.location.host parameter, file path from another PC is assigned to this html file in dbwr.load_content, but it didn't worked.
Thank you for your responses.
--
Hasan SANSAR
- References:
- Display Builder Web Runtime HTML pages Hasan SANSAR via Tech-talk
- Navigate by Date:
- Prev:
Display Builder Web Runtime HTML pages Hasan SANSAR via Tech-talk
- Next:
Re: pvxs configuration problem Michael Davidsaver via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
<2023>
2024
- Navigate by Thread:
- Prev:
Display Builder Web Runtime HTML pages Hasan SANSAR via Tech-talk
- Next:
workQPanic-Kernel work queue overflow while attempting async communication and thereafter initializing tyGSOctalModule with vxWorks Mrinal Bera via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
<2023>
2024
|