I have tried adding the following section to my Wordpress/FastCGI XML file ( like in http://www.eclipse.org/jetty/documentation/9.3.x/configuring-fastcgi.html ):
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" " http://www.eclipse.org/jetty/configure_9_3.dtd"> <Configure class="org.eclipse.jetty.servlet.ServletContextHandler"> ....... <Configure class="org.eclipse.jetty.webapp.WebAppContext"> <Set name="contextPath">/hello</Set> <Set name="war">/var/www/jetty-base/hello-world-0.1-SNAPSHOT.war</Set> </Configure> but that didn't really work (I guess can not use Configure-tag inside Configure): java.lang.IllegalStateException: Unknown tag: Configure in file:/var/www/jetty-base/webapps/slova.de.xml Regards Alex On Thu, Jun 30, 2016 at 1:53 PM, Alexander Farber < [email protected]> wrote: > But my real question is what would be please the best way to specify a > path like "/hello" (or "/ws") when developing a WAR-file? > > I would like to develop my project in NetBeans and copy the produced > WAR-file to the Linux-server (and maybe try to connect to it remotely as > described at > https://www.eclipse.org/jetty/documentation/9.3.x/enable-remote-debugging.html > ) > > I have read > https://www.eclipse.org/jetty/documentation/9.3.x/configuring-contexts.html#setting-context-path > but I am still not sure, what would be the best method for specifying > context (like "/hello" or "/ws") and vritual host for my WAR-file... > > >
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
