Hello Toni,<br><br>* Yes, I reverted all my changes in the web.xml file.<br><br>* The start tag in the web.xml file is:<br><web-app xmlns="<a href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</a>
" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee
</a> <a href="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd</a>" version="2.4"><br><br>* The jsp where the problem exists, doesn't use any taglib. The problem is, when I try to use OpenCms Macro Expressions. Here is an example:
<br><br><%@ page session="false" %><br><%@ taglib prefix="cms" uri="<a href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a>" %><br> <jsp:useBean id="cms" class="
org.opencms.jsp.CmsJspActionElement"><br> <br> <link rel="stylesheet" type="text/css" href="sites/default/kljb/css/articlemodule.css"><br><br> <%<br> cms.init
(pageContext, request, response);<br><br> // get the template<br> String template = cms.property("template", "search");<br> <br> // The page header<br> cms.include(template, "head");
<br> // end of template head<br><br> String number = "${number}";<br><br> %><br> <h1> Gallery</h1><br> <br> <br> <cms:contentload collector="allInFolderDateReleasedDesc" param="/kljb/gallery/photos/galery_
<span style="font-weight: bold; text-decoration: underline;">${number}</span>|photoalbum" editable="true"><br> <table border="0" width="100%"><br> <tr><td width="50%">
<br> <h2><cms:contentshow element="Title" /></h2><br> </td><br> <td> <br> <cms:contentloop element="Thumbs"><br> <cms:contentshow element="TextBottom" />
<br> </cms:contentloop><br> </td><br> </tr><br> <tr><br> <td><br> <cms:contentloop element="Thumbs"><br> <cms:contentshow element="TextTop" />
<br> </cms:contentloop><br> </td><br> <td><br> <a href="<cms:link><cms:contentshow element="<span style="font-weight: bold; text-decoration: underline;">${opencms.filename
}</span>" /></cms:link>">Ansehen</a><br> </td><br> <br> </tr><br> </table><br><br> <br/><br/><br><br> </cms:contentload><br><br><br> <br>
<br> <% <br><br> // The page foot<br> cms.include(template, "foot");<br><br> %><br><br></jsp:useBean><br><br><br>The JSTL Library is parsing this file and takes the parts underlined as Expression Language. In fact, these parts are OpenCms Macro. Both languages have the same syntax. So this is the problem. (I don't know, why the OpenCms developers decided to take the syntax of Expression Language for Macro Expression, too. Ist there any sense?)
<br><br>You are working with macros in your jsp files and don't get this problem?<br><br>Regards,<br>Fabian<br><br><br><div><span class="gmail_quote">2006/8/13, Toni Pérez <<a href="mailto:tp.ocms@gmail.com">tp.ocms@gmail.com
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 13/08/06, Fabian Huber <<a href="mailto:fabian.huber@gmail.com">fabian.huber@gmail.com
</a>> wrote:<br>> Hello Toni,<br>><br>> thanks for your answer.<br>> I used JSTL 1.1. After your answer, I tried to use version 1.0.6. But the<br>> problem was the same. Which version of OpenCms do you use?
<br>><br>> Regards,<br>> Fabian<br><br><br>Hello, Fabian.<br><br><br>I am using OpenCms 6.2.1 on a Tomcat 5.5, but I think it would also<br>works with 6.0.<br><br>Some questions to try to know what is happening:<br>
<br>* Have you reverted the changes done on the "web.xml" to use the JSTL 1.1?<br><br>* The start tag of "webapp" element in the "web.xml" file:<br> is simply "<web-app>"?
<br> Or is <web-app xmlns="<a href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</a>"<br><br>xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance
</a>"<br><br>xsi:schemaLocation="<a href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</a><br><a href="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
</a>"<br> version="2.4">?<br><br>* In the JSP (i will use the core taglib for example):<br> are you declaring the taglib with <%@ taglib prefix="c"
<br>uri="<a href="http://java.sun.com/jstl/core">http://java.sun.com/jstl/core</a>" %>?<br> or with <%@ taglib prefix="c"<br>uri="<a href="http://java.sun.com/jsp/jstl/core">http://java.sun.com/jsp/jstl/core
</a>" %>? (note the "jsp/" substring<br>after "<a href="http://java.sun.com">java.sun.com</a>")<br><br><br>Regards.<br> Toni.<br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list
<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div>
<br>