On 1/7/08, Al Maw <[EMAIL PROTECTED]> wrote:
>
> Wicket special-cases URLs that start with /resources/*. You therefore
> can't use that as a directory for your images.
>
> Regards,
>
> Al
>

Al: can you provide more details / links / rationale on this?  I keep
images, css, js etc. under "/resources" relative to the context root but it
seems to all work.  So in my case the resources are served by the web-server
the old-fashioned way (not by Wicket) - right?

Okay just after typing the above I remember that in my case the Wicket
filter is mapped to "/app/*" not "/*" so that makes the difference right?

Anyway do provide some info or tell me where to look.  Just for
understanding.

- Peter

On 04/01/2008, Fernando Wermus <[EMAIL PROTECTED]> wrote:
> > Michael,
> >           I have changed the images to another directory and it is
> working
> > right now. I don't know the reason of this behavior but It is solved.
> >
> > Thanks a lot.
> >
> > On Jan 4, 2008 4:43 PM, Fernando Wermus <[EMAIL PROTECTED]>
> wrote:
> >
> > > I don't have any code. The css files are pointing to some images. If I
> > > perform a
> > >
> > >  GET http://localhost:8081/misPartidos/resources
> > >
> > > I got the file list in the directory,
> > >
> > > .svn
> > > bg-ad-top.png
> > > bg-body.png
> > > bg-feed.gif
> > > bg-footer.jpg
> > > bg-header.jpg
> > > bg-menu.png
> > > bg-menu-hover.png
> > > bg-sidebar-bottom.gif
> > > bg-sidebar-top.gif
> > > button-feed.png
> > > icon-comment.png
> > > images
> > >
> > > But when I try to perform a
> > >
> > >  GET http://localhost:8081/misPartidos/resources/bg-menu-hover.png
> > >
> > > I got nothing. Beside, the console throws a
> > >
> > > 838661 [btpool0-2 - /misPartidos/resources/bg-menu-hover.png] DEBUG
> > > org.mortbay.log  - RESPONSE /misPartidos/resources/bg-menu-hover.png
>   404
> > >
> > > If I move up all that ima ges,  I have access to all of them.
> > >
> > >
> > > On Jan 4, 2008 9:41 AM, Michael Sparer < [EMAIL PROTECTED] >
> wrote:
> > >
> > > >
> > > > that's not a permission problem, jetty just can't find the stuff,
> please
> > > >
> > > > provide some code that generates the 404 error
> > > >
> > > >
> > > >
> > > > Fernando Wermus-2 wrote:
> > > > >
> > > > > Jetty is not allowing to download the resources of my pages. It
> dumps
> > > > this
> > > > > into the log,
> > > > >
> > > > > 42150 [btpool0-1 - /misPartidos/resources/bg-header.jpg] DEBUG
> > > > > org.mortbay.log  - RESPONSE /misPartidos/resources/bg-header.jpg
>   404
> > > > > 42150 [btpool0-1 - /misPartidos/resources/bg- header.jpg] DEBUG
> > > > > org.mortbay.log  - RESPONSE /misPartidos/resources/bg-header.jpg
>   404
> > > > > 42150 [btpool0-1 - /misPartidos/resources/bg-header.jpg] DEBUG
> > > > > org.mortbay.log  - RESPONSE /misPartidos/resources/bg- header.jpg
>   404
> > > > >
> > > > > I was trying to figure it out if it is a linux permission problem
> or a
> > > > > problem from jetty itself.
> > > > >
> > > > > Thanks a lot!
> > > > >
> > > > > --
> > > > > Fernando Wermus.
> > > > >
> > > > >
> > > >
> > > >
> > > > -----
> > > > Michael Sparer
> > > > http://talk-on-tech.blogspot.com
> > > > --
> > > > View this message in context:
> > > >
> http://www.nabble.com/Jetty%2C-images-and-404-http-tp14605929p14614654.html
> > > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Fernando Wermus.
> >
> >
> >
> >
> > --
> > Fernando Wermus.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to