in design time, the images is located at
war/Images/abc.png
and I have a class called Commons in client package and stored the
image location as string
public class Commons {
public static final String abc_path = "/Images/abc.png"
........
}
then in the page show image, I write the following
Image abc = new Image (Commons.abc_path);
HorizontalPanel imagePanel = new HorizontalPanel();
imagePanel.add(abc);
......
the image can show in development mode, but when compile and deployed
to weblogic,
the images folder still under war folder
war/Images/abc.png
but the image cannot be shown!!
what is the reason?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.