In your web.xml, you can add a welcome page, like this:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <web-app>
| <display-name>EJB3 Persistence</display-name>
|
| <servlet>
| <servlet-name>FacesServlet</servlet-name>
| <servlet-class>blah.blah.blah</servlet-class>
|
| </servlet>
|
|
| <servlet-mapping>
| <servlet-name>FacesServlet</servlet-name>
| <url-pattern>*.faces</url-pattern>
|
| </servlet-mapping>
|
| <welcome-file-list>
| <welcome-file>index.jsp</welcome-file>
|
| </welcome-file-list>
| </web-app>
And then in the index.jsp (which will be at the root of the war), you can have this
redirection:
<html>
| <body>
| <%
|
| request.getRequestDispatcher("/dummy.faces").forward(request,response);
|
| %>
| </body>
| </html>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147065#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...