Currently I have a web application where we are using web.xml to configure the application. The web.xml has welcome-file-list.
<web-app>
....
<welcome-file-list>
<welcome-file>home.html</welcome-file>
</welcome-file-list>
</web-app>
We are planning to use spring framework and use java class for application configuration.
class MyApplication extends WebApplicationInitilizer{
public void onStartUp(ServletCntext context){
.....
}
}
How do I specify welcome-file-list in this java class?
Aucun commentaire:
Enregistrer un commentaire