Platform:
JDeveloper 11.1.2.3.0
I also wanted to add and put some info in my own blog.
First of all you can use Web.xml > Welcome Files and enter the files to be redirected at the first entry, but sometimes it will not work in some browsers. It is better to use index.html and redirect to other.
No matter what in the most cases you want to create your own Deployment profile for your Web layer (view).
1. On the View Project, right click and we go to Project Properties;
2. Choose Deployment from left pane, click New to create Deployment profile;
3. Choose profile type depending your application needs. I choose WAR File and put any name you want;
4. In the Edit WAR Deployment Profile Properties' General, you can specify Web Application's Context Root. That will actually comes up in Java EE Application' Web context root.
5. Where we are wrapping EAR Application level deployment profile, we will include that WAR file
6.With creating index.html and changing only you can redirect your page from the root without entering real file
7. Make sure you didn't specify other file as welcome page in web.xml configuration. Or, just specify index.html for Welcome Files
No comments:
Post a Comment