阅读背景:

Jetty 7.4.2 + Quercus 4.0.18:如何从webapp目录外部读取PHP文件

来源:互联网 

Using this code...

使用此代码......

import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.webapp.WebAppContext;

public class OneWebApp
{
    public static void main(String[] args) throws Exception
    {
        String jetty_home = "C:/Software/jetty";

        Server server = new Server(8080);

        WebAppContext webapp = new WebAppContext();
        webapp.setContextPath("/");
        webapp.setWar(jetty_home+"/quercus-4.0.18.war");
        server.setHandler(webapp);

        server.start();
        server.join();
    }
}
import org.e



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: