1

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 body help to give the default path

monica bubna
  • 616
  • 5
  • 12

1 Answers1

0

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.

Community
  • 1
  • 1
MarcoS
  • 13,386
  • 7
  • 42
  • 63