Inside the sun-web.xml file, make sure the context-root element looks like this:
<context-root>/</context-root>
The document type definition (DTD) of the descriptor file can be found here.
If the web application is part of an EAR-file, make sure you configure this in application.xml. Otherwise, the setting in application.xml will override it!
To make the URL even simpler, you can ofcourse change the listen port to 80. The URL to the application will then look like this: http://my.server.com/
Useful site. It was very great stuff. Thanks for sharing it.
ReplyDeleteweb design company