> I want to show a image in the url as
Put it in a .war file. If your war is called frank.war, the url of your image will be http://localhost:8080/frank/image.jpg - i.e. the name of the war file will be used as context. To deploy in the root context (so that the image will show up on the url you want), you'll have to pack the war file in an .ear file and supply an application.xml file (in the ear) with the following contents:
PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
<display-name>the name of your web app</display-name>
And now I'm using the JBuilder7.0, how can package the project into the .ear files, and where can I find the application.xml file.
I have the same problem did you deal with!!!