[jboss-user] [Beginners Corner] - Re: Load index.jsp as welcome file
pepelara
do-not-reply at jboss.com
Thu Sep 4 08:59:47 EDT 2008
This is my web.xml file,
<?xml version="1.0" encoding="ISO-8859-1"?>
| <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
| <web-app>
| <servlet>
| <servlet-name>ServletEntrada</servlet-name>
| <servlet-class>es.deusto.servlet.ServletEntrada</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>ServletEntrada</servlet-name>
| <url-pattern>/*</url-pattern>
| </servlet-mapping>
|
| <mime-mapping>
| <extension>doc</extension>
| <mime-type>application/msword</mime-type>
| </mime-mapping>
| <mime-mapping>
| <extension>xls</extension>
| <mime-type>application/vnd.ms-excel</mime-type>
| </mime-mapping>
| <mime-mapping>
| <extension>ppt</extension>
| <mime-type>application/vnd.ms-powerpoint</mime-type>
| </mime-mapping>
| <mime-mapping>
| <extension>pdf</extension>
| <mime-type>application/pdf</mime-type>
| </mime-mapping>
| <mime-mapping>
| <extension>zip</extension>
| <mime-type>application/zip</mime-type>
| </mime-mapping>
|
| <welcome-file-list>
| <welcome-file>index.jsp</welcome-file>
| </welcome-file-list>
|
| </web-app>
|
And this is my application.xml file,
<?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
| <application>
| <display-name>Entrada</display-name>
| <description>This is the implementaion of the EntradasUsuario application</description>
| <module>
| <ejb>entrada-ejb.jar</ejb>
| </module>
| <module>
| <web>
| <web-uri>entrada-web.war</web-uri>
| <context-root>/entrada</context-root>
| </web>
| </module>
| </application>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174285#4174285
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174285
More information about the jboss-user
mailing list