On 12/19/2012 11:36 AM, rjdkolb_at_gmail.com wrote:
> Hello
>
> I would like to expose some HTML and Java script in a pure Java
> application using HttpServerFactory.
>
> So far I am exposing my restful webservices with :
> static final String BASE_URI = "http://localhost:9999/myapp/";
> ResourceConfig rc = new PackagesResourceConfig("org.openrap.services");
> HttpServer server = HttpServerFactory.create(BASE_URI, rc);
> server.start();
>
> I would like to expose a index.html and abc.js as well.
> i.e.
> http://localhost:9999/myapp/index.html > http://localhost:9999/myapp/abc.js >
> How do I do this ?
>
> thanks
> Richard.