[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: pelirr31

pelirr do-not-reply at jboss.com
Tue May 26 10:28:05 EDT 2009


Hello, it contain WEB-INF/web.xml, here is it:


  | <?xml version="1.0" encoding="UTF-8"?>
  |           
  | <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  | 	
  | 	<jsp-config>
  | 		<taglib>
  | 			<taglib-uri>strutsBean</taglib-uri>
  | 			<taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location>
  | 		</taglib>
  | 		<taglib>
  | 			<taglib-uri>strutsHtml</taglib-uri>
  | 			<taglib-location>/WEB-INF/lib/struts-html.tld</taglib-location>
  | 		</taglib>
  | 		<taglib>
  | 			<taglib-uri>strutsLogic</taglib-uri>
  | 			<taglib-location>/WEB-INF/lib/struts-logic.tld</taglib-location>
  | 		</taglib>
  | 		<taglib>
  | 			<taglib-uri>strutsForm</taglib-uri>
  | 			<taglib-location>/WEB-INF/lib/struts-form.tld</taglib-location>
  | 		</taglib>
  | 		<taglib>
  | 			<taglib-uri>strutsTemplate</taglib-uri>
  | 			<taglib-location>/WEB-INF/lib/struts-template.tld</taglib-location>
  | 		</taglib>
  | 	</jsp-config>
  | 	
  | 	<display-name>PruebaOsiris.war</display-name>
  | 	
  | 	<servlet>
  | 		<servlet-name>action</servlet-name>
  | 		<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
  | 		<!-- com.empresa.aplicacion.ApplicationResources es la localizacion del archivo ".properties"
  | 		del idioma principal de la aplicacion -->
  | 		<init-param>
  | 			<param-name>application</param-name>
  | 			<param-value>org.apache.struts.example.ApplicationResources</param-value>
  | 			<!-- en el manual después viene que en lugar de este value puede ser
  | 			com.empresa.aplication.ApplicationResources -->
  | 		</init-param>
  | 		<init-param>
  | 			<param-name>config</param-name>
  | 			<param-value>/WEB-INF/struts-config.xml</param-value>
  | 		</init-param>
  | 		<!-- Para el nivel de depuración -->
  | 		<init-param>
  | 			<param-name>debug</param-name>
  | 			<param-value>2</param-value>
  | 		</init-param>
  | 		<!-- Clase java de implementación del mapping -->
  | 		<init-param>
  | 			<param-name>mapping</param-name>
  | 			<param-value>org.apache.struts.example.ApplicationMapping</param-value>
  | 		</init-param>
  | 		<init-param>
  | 			<param-name>detail</param-name>
  | 			<param-value>2</param-value>
  | 		</init-param>
  | 		<init-param>
  | 			<param-name>validate</param-name>
  | 			<param-value>true</param-value>
  | 		</init-param>
  | 		<!-- Orden de ejecución cuando el servlet engine es inicializado -->
  | 			<load-on-startup>2</load-on-startup>
  | 	</servlet>
  | 	<servlet-mapping>
  | 		<servlet-name>action</servlet-name>
  | 		<url-pattern>*.do</url-pattern>
  | 	</servlet-mapping>
  | 	
  | 	<welcome-file-list>
  | 		<welcome-file>registro.jsp</welcome-file>
  | 	</welcome-file-list>
  | </web-app>
  | 

Thanks very much, and regards

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233340#4233340

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233340




More information about the jboss-user mailing list