You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by akki <ak...@bhelhwr.co.in> on 2004/11/25 10:07:30 UTC

Error in web.xml

hi all....

i want to know whether there is some syntactical error

in this web.xml file of my apps...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

<?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>
<listener> 
   <listener-class> 
    com.cj.sesslist.statListener 
   </listener-class> 
</listener> 
<listener> 
   <listener-class> 
    com.cj.sessadm.admListener 
   </listener-class> 
</listener> 

    
<display-name>Test Examples</display-name>
    <description>
      Testing Example servlets and JSP pages.
    </description>
<servlet> 
    <servlet-name>Search</servlet-name> 
    <servlet-class>com.cj.search.SearchServlet</servlet-class> 
</servlet> 

    <servlet>
        <servlet-name>Hello</servlet-name>
        <servlet-class>Hello</servlet-class>
    </servlet>

	<servlet-mapping> 
     <servlet-name>Search</servlet-name> 
     <url-pattern>/servlet/Search</url-pattern> 
   	</servlet-mapping> 


    <servlet-mapping>
        <servlet-name>invoker</servlet-name>
        <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>

	<session-config>
        <session-timeout>
                300
        </session-timeout>
	</session-config>

<taglib>
	<taglib-uri>
		http://jakarta.apache.org/taglibs/datetime
	</taglib-uri>
	<taglib-location>
		/WEB-INF/tlds/jaktl/datetime/datetime.tld
       	</taglib-location>
</taglib>
<taglib>
	<taglib-uri>
		http://www.servletsuite.com/servlets/errortag
	</taglib-uri>
	<taglib-location>
		/WEB-INF/tlds/errortag.tld
       	</taglib-location>
</taglib>
<taglib>
	<taglib-uri>
		http://jakarta.apache.org/taglibs/mailer
	</taglib-uri>
	<taglib-location>
		/WEB-INF/tlds/jaktl/mailer/mailer.tld
       	</taglib-location>
</taglib>
<taglib>
	<taglib-uri>
		sendmail
	</taglib-uri>
	<taglib-location>
		/WEB-INF/tlds/sendmail.tld
	</taglib-location>
</taglib>

<welcome-file-list>
        <welcome-file>
                index.jsp
        </welcome-file>
        <welcome-file>
                index.html
        </welcome-file>
        <welcome-file>
                index.htm
        </welcome-file>
</welcome-file-list>

</web-app>

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
thanks in advance

Regards
  
Akki
Engineer
ITX 
BHEL,HARDWAR
Available at 5405,4553
"The greatest mistake you can make in life is to be continually fearing you will make one"