---
title: "图片路径"
author: "fengchao"
date: "2009-04-08T09:28:50Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2009-04-08T09:28:50Z"
id: 363186
url: "https://alexfc.iteye.com/blog/363186"
---

well, what image folder u write,

if u use <img src="/test.gif">, u should put the test.gif in webapps/Root/ folder, so that, i suggest that to write <img src="<%=request.getContextPath()%>/test.gif">!

and if u wanna use the Root folder for ur webapp.
Just delete the Root folder. and write as before.