[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: expectd one local home tag problem

shogun1234 do-not-reply at jboss.com
Tue Oct 30 16:04:29 EDT 2007


"Raist_Majere" wrote : Are you setting the version attribute of web-app in web.xml to 2.5? Can you copy it here your web.xml file?

the content of web.xml is as below:

  | <?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/javaee/web-app_2_5.xsd">
  | 	<display-name>Time</display-name>
  | 	<welcome-file-list>
  | 		<welcome-file>index.jsp</welcome-file>
  | 	</welcome-file-list>
  | 	<ejb-local-ref>
  | 		<ejb-ref-name>ejb/TimeBean</ejb-ref-name>
  | 		<ejb-ref-type>Entity</ejb-ref-type>
  | 		<local>net.sf.sample.TimeLocal</local>
  | 	</ejb-local-ref>
  | </web-app>
  | 

The xsd I use is 2.5 xsd, not 2.4. So previously I expect it should work, but it looks not so. There might have some other part I miss. 

Thanks for replying my message. 

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

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



More information about the jboss-user mailing list