I have the following site structure:
mysite.com
- /app1/
- /app2/
Right now with my configuration it seems when I navigate to mysite.com, it shows a list of the apps on the server.
How can I get it to show app1/index.html when i navigate mysite.com?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok… not sure why it took me this long to find the answer but… according to some page online which I now forget…
Rename app1 folder to ‘root’. The default handler defined in your jettyweb config xml will then map this app to /
You can also throw in a WEB-INF folder and web.xml to define things like the default welcome page, so you don’t have to type mysite.com/index.html