3 Replies Latest reply on Sep 24, 2002 1:31 PM by jules

    Jetty Context

    jaime

      Hi,

      Somebody knows how I create a new Jetty Context to work with jsp pages???

      For example I need know how to map /mypages context to c:\work\root directory.

      Any idea??

      JBoss 3.02 with Jetty
      Win2000 Prof

      Thanks for all

      JaimeS

        • 1. Re: Jetty Context

          Are you just asking how to put together and deploy a webapp containing JSPs to a context ? or something more specific ?

          More info please


          Jules

          • 2. Re: Jetty Context
            jaime

            I need to make some context maped to a directory file system on my hard disk, I don't want to use a WAR file, for example I have a directory with the name c:\root and I want to make a context on Jetty, for example /mypages, that maps all all request to /mypages/* to the files contained in the directory.

            If I work with tomcat, I can make it with:




            this map the context /mypages to the c:\root directory.

            I need know how I make something like this.

            Thanks for all

            JaimeS

            • 3. Re: Jetty Context

              You can do it - I don't have an example laying around.

              Look on jetty.mortbay.org - there is bound to be an example in the documentation somewhere. When they talk about your jetty.xml, substitute the ConfigurationElement in your /deploy/jbossweb.sar/META-INF/jboss-service.xml.

              If you can't find what you want, try jetty-support@yahoogroups.com.

              Good luck,


              Jules