This content has been marked as final.
Show 2 replies
-
1. Re: Mapping a servlet to http://hostname/hello.dll
jasonbrome Nov 20, 2002 12:02 AM (in response to mcgee)Just make your web application the root application - i.e. under the default context. The standard way to do this is by wrapping the war within an ear. In your ear's application.xml, set a context of / for the war file.
Then add an entry to your web.xml that maps the context path /hello.dll to your servlet.
Jason -
2. Re: Mapping a servlet to http://hostname/hello.dll
mcgee Nov 22, 2002 12:24 PM (in response to mcgee)Thank you Jason. Someone else here did some forum browsing and found a suggestion to simply include a jboss-web.xml in his .WAR file, and put the context-root entry in jboss-web.xml. Unless I'm mistaken, putting it in application.ear as you suggest would be more general and better than using jboss.xml. I'll give this a shot myself.
Thanks Jason,
Chris