users@glassfish.java.net
setting context-root for a webapp?
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Matthew Pease <
mpease_at_gmail.com
>
Date
: Wed, 14 Jun 2006 09:27:59 -0700
Hello Glass Fishermen & Fisherwomen -
Simple stupid question really, but I couldn't find it in the docs.
How can I make my .ear deployed webapp the default?
I now use
http://localhost/karmapop/login.jsp
but I'd rather use
http://localhost/login.jsp
Anyone know how to do this? I tried adding a META-INF directory
with this file in it, but that didn't work at all.
<application xmlns="
http://java.sun.com/xml/ns/j2ee
" version="1.4"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
"
xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd
">
<display-name>KarmaPop Demo</display-name>
<module>
<web>
<web-uri>karmapop.war</web-uri>
<context-root>/</context-root>
</web>
</module>
</application>
Thanks people -
Matt
This message
: [
Message body
]
Next message
:
Jan Luehe: "Re: setting context-root for a webapp?"
Previous message
:
Eduardo Pelegri-Llopart: "Experience with internet meeting tools?"
Next in thread
:
Jan Luehe: "Re: setting context-root for a webapp?"
Reply
:
Jan Luehe: "Re: setting context-root for a webapp?"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]