[opencms-dev] FormMail web.xml error
Markus Daniel
markus.daniel at synyx.de
Mon Sep 27 10:24:15 CEST 2004
Berg M. San schrieb:
> * Joachim Arrasz <info at arrasz.de> [2004-09-26 22:21:46 +0200]:
>
>
>>Berg M. San wrote:
>>
>
> [...]
>
>>you made a mistake while inserting your servlet into web.xml
>
>
> That's out of the question. :-)
> I've just followed the documentation.
>
> [...]
>
>>this seems that you killed the taglib entry in web.xml with your new
>>servlet-entry.
>>
>>Ensure that there are all tags closed and well formed
>
>
> I've checked twice the xml-file, there was no tag open.
>
>
>>Bye Achim
>
>
> Thx, for your quick answer.
>
> \Berg.
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
Hi!
Is the opencms.tld in the /opencms/WEB-INF/ ?
Does your web.xml look like this?
<?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>
<display-name>OpenCms</display-name>
<description>
OpenCms is an open source content management solution.
See details on http://www.opencms.org/
</description>
<servlet>
<servlet-name>OpenCmsServlet</servlet-name>
<description>
The main servlet that handles all requests to the OpenCms VFS.
</description>
<servlet-class>com.opencms.core.OpenCmsHttpServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>OpenCmsServlet</servlet-name>
<url-pattern>/opencms/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout> <!-- 30 minutes -->
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>http://www.opencms.org/taglib/cms</taglib-uri>
<taglib-location>/WEB-INF/opencms.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://synyx.de/taglib/synyx</taglib-uri>
<taglib-location>/WEB-INF/synyx.tld</taglib-location>
</taglib>
</web-app>
hope it helps,
regards,
Markus
More information about the opencms-dev
mailing list