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

2019-09-19 18:18发布

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条回答
戒情不戒烟
2楼-- · 2019-09-19 18:54

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

查看更多
登录 后发表回答