-
FEATURED COMPONENTS
First time here? Check out the FAQ!
HI,
I'm making a project using zk with jetty embedded. After a few day research, i can't make it run.
I'm using Netbean, jetty 8 and zk 7.
If anyone have simple exam for render simple zk view on jetty embedded, please show me.
Thank a lot.
Hi
We also run our ZK application in an embedded jetty. We did the following:
Regards, dis
Thank you, good solution Dis.
But, instead of deploy the war file, can i use WebAppContext and setDescriptor to the web.xml? This is my try follow the instruction on jetty page:
Server server = new Server(9090);
WebAppContext context = new WebAppContext();
context.setDescriptor("./zk5/web/WEB-INF/web.xml");
context.setResourceBase("./zk5/web/");
context.setContextPath("/");
context.setParentLoaderPriority(true);
server.setHandler(context);
server.start();
server.join();
Hi asure313
Did you get the above to work (using WebAppContext)? If so could you provide a detailed example ?
Thanks
Asked: 2013-08-29 17:06:48 +0800
Seen: 59 times
Last updated: Mar 25 '14
Is this a Maven Project or Simple Web Module Because Jetty is not the Standard Server .
sjoshi ( 2013-08-30 05:41:25 +0800 )edit