2010-03-31 14 views

Répondre

0

Spécifiez un fichier de bienvenue dans votre web.xml:

<?xml version="1.0" encoding="UTF-8"?> 
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns="http://java.sun.com/xml/ns/javaee" 
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> 

    <welcome-file-list> 
    <welcome-file>FirstJSP.jsp</welcome-file> 
    </welcome-file-list> 

</web-app> 
0

index.jsp devrait la carte à cette fonction par défaut, ou vous pouvez utiliser comme mentionné dans d'autres réponses.

Questions connexes