CONTEXT PATH: /smartgrid
REAL PATH: /var/lib/tomcat7/webapps/smartgrid/ Image path: /smartgrid/images/test.jpg
Subbu advice: /var/lib/tomcat7/webapps/smartgrid/
1 - /var/lib/tomcat7/webapps/smartgrid/images/test.jpg 404 (I have also tried with "images" instead of "/images", but 404 idem.
2 - /test.jpg 404
3 - /images/test.jpg 404
4 - /var/lib/tomcat7/webapps/smartgrid//images/test.jpg 404
4 - /smartgrid/test.jpg 500
5 - /smartgrid/smartgrid/images/test.jpg 500
6 - /smartgrid/org.apacheblablablabla this is wrong for sure 500
7 - /smartgrid/images/test.jpg 500
8 - /smartgrid/smartgrid/test.jpg 200 (this is OK, but it doesn't show!)
David Candamil Santos wrote:Hi, Subbu, thank you for your reply, but unfortunately, it doesn't work either
S Subbu wrote:It will definetely work. Try It
S Subbu wrote:
I think this will definetely works . I think you want to show an image that stored in your web application that is in mind i am giving above advise.
David Candamil Santos wrote:In your opinion, what would be the best option to redirect them to the address of the servlet when they call to the main domain (i.e. server.com), something in ROOT that redirects automatically or other solution?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |