That should work though. Is that still a problem? Eelco
On 4/28/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > please make the servlet url mapping something like /app/* > > don't map the wicket servlet on the root. > > johan > > > > On 4/28/06, Rui Pacheco < [EMAIL PROTECTED]> wrote: > > > > In the browser I just get the empty placeholder. > > The context for the application is "/". > > The servlet mapping is > > > > <servlet-name>Universal</servlet-name> > > <url-pattern>/*</url-pattern> > > > > On my logs I can see the following error: > > WARNING: the resource requested by request [method = GET, protocol = > HTTP/1.1, requestURL = > http://websrv02:8080/universal-agc/imagens/logo_universal.gif > , contentType = null, contentLength = -1, contextPath = /universal-agc, > pathInfo = /imagens/logo_universal.gif, requestURI = > /universal-agc/imagens/logo_universal.gif, servletPath = , > pathTranslated = > /opt/tomcat/webapps/universal-agc/imagens/logo_universal.gif] > was not found > > > > > > The pathTranslated is correct, the images are physically there, but the > webapp doesn't see them. > > > > > > > > > > > > On 4/27/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > > > > > ok > > > so you have something like > > > > > > <img href="image.gif"/> in the markup of the page....what ends up in > your browser? what context name is the app running under? waht is your > servlet mapping? > > > > > > > > > -Igor > > > > > > > > > > > > > > > On 4/27/06, Rui Pacheco < [EMAIL PROTECTED]> wrote: > > > > > > > > I know you're dealing with more important things right now, but I > could use a hand here. > > > > I have my images and css's at the same level as web-inf. My html is > next to the classes under web-inf/classes. > > > > > > > > How do I make my html see my images and my css's? > > > > > > > > > > > > > > > > On 4/27/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote: > > > > > Ok. > > > > > > > > > > On 4/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > > > this is not entirely true. sharead resource urls are essentially > > > > > > bookmarkable...so that might be a problem. if we are going to do > this in 1.2 > > > > > > we should probably poll the users first. > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > > > > > On 4/27/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > i dont see how unless a filter, security or something was mapped > onto that > > > > > > path > > > > > > > > > > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 4/27/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote: > > > > > > > > Would it break any clients if we would do that now? > > > > > > > > > > > > > > > > Eelco > > > > > > > > > > > > > > > > On 4/27/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > > > > > > > > call it /wicket-resources instead of /resources or some such > > > > > > > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 4/27/06, cowwoc <[EMAIL PROTECTED] > wrote: > > > > > > > > > > > > > > > > > > > > What does it mean to namespace it in the context > of Wicket? > > > > > > > > > > > > > > > > > > > > Gili > > > > > > > > > > > > > > > > > > > > Igor Vaynberg wrote: > > > > > > > > > > > there is already a plan to namespace that directory for > v2, or so > > > > > > i > > > > > > > > > thought. > > > > > > > > > > > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 4/27/06, *cowwoc* < [EMAIL PROTECTED] > > > > > > > > > > > <mailto: [EMAIL PROTECTED] >> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Personally, I dislike how Wicket prevents > the use of > > > > > > > > > > > "reserved paths" > > > > > > > > > > > such as /resources. There should be a better way, > somehow. > > > > > > > > > > > > > > > > > > > > > > Why not let users bind whatever resources > they want to > > > > > > > > > > > /resources and > > > > > > > > > > > if Wicket (or another user-call) tries binding to > that same > > > > > > path you > > > > > > > > > > > throw an exception? It would be up to the user to > ensure he > > > > > > doesn't > > > > > > > > > > > produce conflicts (which I think are extremely rare > in the > > > > > > first > > > > > > > > > place). > > > > > > > > > > > > > > > > > > > > > > Anyway, just food for thought. > > > > > > > > > > > > > > > > > > > > > > Gili > > > > > > > > > > > > > > > > > > > > > > Eelco Hillenius wrote: > > > > > > > > > > > > I'm afraid /resources/ is a reserved path with > Wicket. I > > > > > > guess > > > > > > > > > it's > > > > > > > > > > > > not the best name we choose, as it's kind of an > obvious path > > > > > > to > > > > > > > > > use > > > > > > > > > > > > for people. Maybe we should use another path, like > > > > > > > > > > > > '/wicket-shared-resources/' or something. > > > > > > > > > > > > > > > > > > > > > > > > Eelco > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 4/27/06, Rui Pacheco < [EMAIL PROTECTED] > > > > > > > > > > > <mailto: [EMAIL PROTECTED]>> wrote: > > > > > > > > > > > >> My problem is, the images and css files can't be > found by > > > > > > the > > > > > > > > > > > html pages. > > > > > > > > > > > >> I am calling them as if I was using a static > page: > > > > > > > > > > > >> <link href="universal.css" rel="stylesheet" > > > > > > type="text/css"> > > > > > > > > > > > >> > > > > > > > > > > > >> Images follow a similar pattern. > > > > > > > > > > > >> > > > > > > > > > > > >> > > > > > > > > > > > >> On 4/27/06, Igor Vaynberg < > [EMAIL PROTECTED] > > > > > > > > > > > <mailto: [EMAIL PROTECTED]>> wrote: > > > > > > > > > > > >>> how are you referring to those files inside your > css? > > > > > > > > > > > >>> > > > > > > > > > > > >>> -Igor > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> On 4/27/06, Rui Pacheco < [EMAIL PROTECTED] > > > > > > > > > > > <mailto: [EMAIL PROTECTED]> > wrote: > > > > > > > > > > > >>>> Hi all. > > > > > > > > > > > >>>> > > > > > > > > > > > >>>> My application, as with all applications, uses > > > > > > stylesheets and > > > > > > > > > > > images. > > > > > > > > > > > >> Those files are stored under > > > > > > > > > > > >> > $TOMCAT_HOME/webapps/my_app/resources, but > > > > > > when > > > > > > > > > I launch my > > > > > > > > > > > >> wicket application I see an error on my logs > saying that > > > > > > the file > > > > > > > > > > > can't be > > > > > > > > > > > >> found, even though I can see it on the > filesystem. > > > > > > > > > > > >>>> How can I make my files appear on the > application? > > > > > > > > > > > >>>> > > > > > > > > > > > >>>> -- > > > > > > > > > > > >>>> Cumprimentos, > > > > > > > > > > > >>>> > > > > > > > > > > > >>>> Rui Pacheco > > > > > > > > > > > >>> > > > > > > > > > > > >> > > > > > > > > > > > >> > > > > > > > > > > > >> -- > > > > > > > > > > > >> Cumprimentos, > > > > > > > > > > > >> Rui Pacheco > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > > > > Using Tomcat but need to do more? Need to support > web > > > > > > services, > > > > > > > > > > > security? > > > > > > > > > > > > Get stuff done quickly with pre-integrated > technology to > > > > > > make your > > > > > > > > > > > job easier > > > > > > > > > > > > Download IBM WebSphere Application Server v.1.0.1 > based on > > > > > > Apache > > > > > > > > > > > Geronimo > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > > > > > > > > > > > < > > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > > > > Wicket-user mailing list > > > > > > > > > > > > [email protected] > > > > > > > > > > > <mailto: > [email protected]> > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > Using Tomcat but need to do more? Need to support web > services, > > > > > > security? > > > > > > > > Get stuff done quickly with pre-integrated technology to make > your job > > > > > > easier > > > > > > > > Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > > > > > Geronimo > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > > > > > > > > > _______________________________________________ > > > > > > > > Wicket-user mailing list > > > > > > > > [email protected] > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > Using Tomcat but need to do more? Need to support web services, > security? > > > > > Get stuff done quickly with pre-integrated technology to make your > job easier > > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > > > > > _______________________________________________ > > > > > Wicket-user mailing list > > > > > [email protected] > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Cumprimentos, > > > > > > > > Rui Pacheco > > > > > > > > > > > > > > > > -- > > Cumprimentos, > > > > Rui Pacheco > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
