tong123123
unread,Feb 9, 2012, 9:59:49 PM2/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
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?