Hi,
I'm using JWt with Jruby and Jetty.
I'm initialising my app with this code:
@server = Server.new(8080)
context = ServletContextHandler.new(ServletContextHandler::SESSIONS)
context.setContextPath("/");
context.addEventListener(ServletInit.new);
@server.setHandler(context);
servlet = HelloMain.new()
holder = ServletHolder.new(servlet)
context.addServlet(holder, '/')
@server.start
A request is sent for
http://localhost:8080/wt-resources/themes/default/wt.css , but the response
received is html:
<!DOCTYPE html><html lang="en" dir="ltr"><head><link rel="icon"
type="image/vnd.microsoft.icon"
href="/favicon.ico"><title></title><!--[if gte IE 6]><style
type="text/css">v\:* { behavior:url(#default#VML); position:absolute
}</style><script id="ie-deferred-loader" defer="defer"
src="//:"></script><![endif]--><script>/*<![CDATA[*/window.onresize=function(){};function
loadScript(a,p)
...
Anyone having an idea on how to solve this? As I'm not familiar with either
JWt, Jetty or Java servlets any hint will be appreciated!
Thanks in advance
raph
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest