I'm think it happens because you try get your image though servlet (mapped as /app/*) You need get static content without handle it with your servlet, for example set image source to.
I'm think it happens because you try get your image though servlet (mapped as /app/*) You need get static content without handle it with your servlet, for example set image source to then real URI of your image will be /mavenproject1/jquerylib/images/save_32x32. Png, and it will returned by your tomcat itself as is, without any processing.
Thanks a lot, it worked. Just got to learn more about URL mappings. – Ravi Oct 2 '09 at 18:03 saved my day.
Would you mind explaining a little more. When I prefix the file path with '../' does it indirectly become absoultepath? And so that the handler is not invoked?
– kalyan Mar 10 at 14:35 @kalyan No, ".." not mean to be absolute path, ".." mean goto upper directory. So what actually happens: when you set image src to ../jquerylib/images/save_32x32. Png your full path will be /mavenproject1/app/../jquerylib/images/save_32x32.
Png and will be transform to /mavenproject1/jquerylib/images/save_32x32. Png by your browser. But your servet handles only /mavenproject1/app/* urls, so /mavenproject1/jquerylib/images/save_32x32.
Png will be handlet by tomcat itself and returned as is, as usual static content. Sorry for my bad english – Alexey Sviridov Mar 10 at 15:07 I got your point. This way it just avoids the handler url path.
But when I access the jsp page statically and not through the view rendering, I still get the images correctly. So the link ../jquerylib/images/save_32x32. Png should become /mavenproject1/../jquerylib/images/save_32x32.
Png, how does this handled? – kalyan Mar 10 at 15:12 actually the same. /mavenproject1/../jquerylib/images/save_32x32.
Png becomes /jquerylib/images/save_32x32. Png, so you run out of your webapp context (mavenproject1) , and this path will be handled by the ROOT web application – Alexey Sviridov Mar 10 at 17:38.
You can look at this url, want to help you javabloger.com/article/no-mapping-found-....
I just add three rules before spring default rule (/**) to tuckey's urlrewritefilter (urlrewrite. Xml) to solve the problem / /app/welcome /scripts/** /scripts/$1 /styles/** /styles/$1 /images/** /images/$1 /** /app/$1 /app/** /$1 stackoverflow.com/questions/1483063/spri....
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.