How could I embed a html/css/js view in a webstart application

我只是一个虾纸丫 提交于 2019-12-13 08:08:52

问题


I would like to use a html/css/js view in my webstart project without requesting all permissions.

I figured out that I could use the java HTTPServer to process the requests but I need a way to avoid using real sockets, so that the HTTPServer instantiation doesn't ask for some permission.

Do you know any projects that achieve that ? and if not, what should I do to get an HTTPServer completely working locally (without hitting boundaries...) ?

edit: maybe an HTTPServer is too much, I maybe only need a HttpHandler..


回答1:


If you can live with HTML 3.2, JEditorPane can render it, as shown here.



来源:https://stackoverflow.com/questions/2687333/how-could-i-embed-a-html-css-js-view-in-a-webstart-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!