You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by nino martinez wael <ni...@gmail.com> on 2010/10/12 12:49:58 UTC

wicket 1.5, resource gives error in log?

Hi

I have something where I reference an image directly in html, wicket has no
idea what it should do with it so it passes the request to the servlet
container.. And it works as I wanted, but should it give an error message?
Or am I doing something wrong?

html:
 <img src="/images/icons/arrow_down_end.png"/>

Log:
ERROR [org.apache.wicket.request.cycle.RequestCycle]  - Unable to execute
request. No suitable RequestHandler found.
URL=images/icons/arrow_down_end.png

regards Nino

Re: wicket 1.5, resource gives error in log?

Posted by Romeo Sheshi <rs...@gmail.com>.
hi
i have make a test and i have the error only when the src url is relative.

http://localhost:8080/test/wicket/bookmarkable/it.test.HomePage
if i have
 <img src="/test/images/test.png"/>
i don't have the error i have the error if i put a relativ url
<img src="test/images/test.png"/>
or
<img src="images/test.png"/>
because wicket http://localhost:8080/test/wicket/bookmarkable/ + relative
url and don't find it
so you have the error
ERROR [org.apache.wicket.request.cycle.RequestCycle]  - Unable to execute
request. No suitable RequestHandler found.
URL=images/icons/arrow_down_end.png

Romeo Sheshi


2010/10/12 nino martinez wael <ni...@gmail.com>

> done -- https://issues.apache.org/jira/browse/WICKET-3103
>
> 2010/10/12 Igor Vaynberg <ig...@gmail.com>
>
> > no, that shouldnt be there. file a bug please.
> >
> > -igor
> >
> > On Tue, Oct 12, 2010 at 3:49 AM, nino martinez wael
> > <ni...@gmail.com> wrote:
> > > Hi
> > >
> > > I have something where I reference an image directly in html, wicket
> has
> > no
> > > idea what it should do with it so it passes the request to the servlet
> > > container.. And it works as I wanted, but should it give an error
> > message?
> > > Or am I doing something wrong?
> > >
> > > html:
> > >  <img src="/images/icons/arrow_down_end.png"/>
> > >
> > > Log:
> > > ERROR [org.apache.wicket.request.cycle.RequestCycle]  - Unable to
> execute
> > > request. No suitable RequestHandler found.
> > > URL=images/icons/arrow_down_end.png
> > >
> > > regards Nino
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>

Re: wicket 1.5, resource gives error in log?

Posted by nino martinez wael <ni...@gmail.com>.
done -- https://issues.apache.org/jira/browse/WICKET-3103

2010/10/12 Igor Vaynberg <ig...@gmail.com>

> no, that shouldnt be there. file a bug please.
>
> -igor
>
> On Tue, Oct 12, 2010 at 3:49 AM, nino martinez wael
> <ni...@gmail.com> wrote:
> > Hi
> >
> > I have something where I reference an image directly in html, wicket has
> no
> > idea what it should do with it so it passes the request to the servlet
> > container.. And it works as I wanted, but should it give an error
> message?
> > Or am I doing something wrong?
> >
> > html:
> >  <img src="/images/icons/arrow_down_end.png"/>
> >
> > Log:
> > ERROR [org.apache.wicket.request.cycle.RequestCycle]  - Unable to execute
> > request. No suitable RequestHandler found.
> > URL=images/icons/arrow_down_end.png
> >
> > regards Nino
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: wicket 1.5, resource gives error in log?

Posted by Igor Vaynberg <ig...@gmail.com>.
no, that shouldnt be there. file a bug please.

-igor

On Tue, Oct 12, 2010 at 3:49 AM, nino martinez wael
<ni...@gmail.com> wrote:
> Hi
>
> I have something where I reference an image directly in html, wicket has no
> idea what it should do with it so it passes the request to the servlet
> container.. And it works as I wanted, but should it give an error message?
> Or am I doing something wrong?
>
> html:
>  <img src="/images/icons/arrow_down_end.png"/>
>
> Log:
> ERROR [org.apache.wicket.request.cycle.RequestCycle]  - Unable to execute
> request. No suitable RequestHandler found.
> URL=images/icons/arrow_down_end.png
>
> regards Nino
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org