开发者

how to give the default path in gwt

i m creating a project in gwt (point) is project name ... i want to store a image in point/war/images folder, whaich i gave the full path like C:\Documents and Settings\computer\workspace\m\war\images\ tthe the iamge will stored in images folder but i want to give the default path

i give "../war/images/" as default path, but this give me error (he system cannot find the path specified )

can any开发者_StackOverflow body help to give the default path


Usually you put images in the war/images directory, and you access them like

Image img = new Image("images/my_image.jpg")

You may also read this thread, and this question.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜