*document root* on an OSGI environment?

Ernesto

On Wed, Mar 24, 2010 at 12:46 PM, Pedro Santos <pedros...@gmail.com> wrote:

> Put then in the top-level directory of a web module.
>
> http://java.sun.com/javaee/5/docs/tutorial/doc/bnadx.html#bnadz
>
> "A web module has a specific structure. The top-level directory of a web
> module is the *document root* of the application. The document root is
> where
> JSP pages, *client-side* classes and archives, and static web resources,
> such as images, are stored."
>
> On Wed, Mar 24, 2010 at 8:34 AM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
> > I see two options:
> >
> > 1-Use Wicket default machinery for serving resources (see
> > IResourceSettings).
> > 2-Mount a dedicated servlet: the same way you register wicket servlet.
> >
> > Ernesto
> >
> > On Wed, Mar 24, 2010 at 12:19 PM, Jaime Soriano Pastor <
> > jsorianopas...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I register a wicket application in an OSGi http service using for that
> > > a WicketServlet with applicationClassName set to the name of my main
> > > application class. My problem now is that I don't know how to serve
> > > static files as CSS and so.
> > > Is there any place used by default to contain the static files?
> > > Could I mount a directory as a resource? How?
> > > Or should I configure the resource locator in some way?
> > >
> > > Many thanks in advance.
> > >
> > >
> > > Jaime.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> > >
> >
>
>
>
> --
> Pedro Henrique Oliveira dos Santos
>

Reply via email to