Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] jetty 8 newbie needs help with getting jsps to work in windows

you need a jsp servlet registered on the context that is to serve jsps...

typically with a WebAppContext (which has a jsp servlet defined in the webdefault.xml) plus the settings in start.ini that enable jsp dependencies to be loaded

cheers,
jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx


On Sat, Dec 29, 2012 at 9:39 AM, Lou Degenaro <lou.degenaro@xxxxxxxxx> wrote:
Below is my context/wph.xml file, what need to be done to enable jsp
handling?

<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC &quot;-//Jetty//Configure//EN&quot;
&quot;http://www.eclipse.org/jetty/configure.dtd&quot;>



<Configure class="org.eclipse.jetty.server.handler.ContextHandler">
  <Call class="org.eclipse.jetty.util.log.Log" name="debug"><Arg>Configure
wph.xml</Arg></Call>
  <Set name="contextPath">/wph</Set>
  <Set name="resourceBase"><SystemProperty name="jetty.home"
default="."/>/wph/</Set>
  <Set name="handler">
    <New class="org.eclipse.jetty.server.handler.ResourceHandler">
      <Set name="welcomeFiles">
        <Array type="String">
          <Item>index.html</Item>
        </Array>
      </Set>
      <Set name="cacheControl">max-age=3600,public</Set>
    </New>
  </Set>

</Configure>



--
View this message in context: http://jetty.4.n6.nabble.com/jetty-8-newbie-needs-help-with-getting-jsps-to-work-in-windows-tp4959755p4959757.html
Sent from the Jetty User mailing list archive at Nabble.com.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top