Hello Erik, thank you for your answer. And yes, you were right about the missing 'jsp' . My heart started to bump. I have changed the example accordingly. Sadly, the error will not disappear:
/indexXML.jsp:1: org.xml.sax.SAXParseException: The prefix "c" for element "c:set" is not bound. 1: <?xml version="1.0" encoding="UTF-8"?> 2: <jsp:root xmlns="http://www.w3.org/1999/xhtml" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.1"> 3: Erik Forkalsrud wrote: > > Olaf Krische wrote: >> 1. Download Resin 3.1 snapshot (resin-3.1.s080126) >> 2. Starting with "java -jar lib/resin.jar start" >> 3. http://localhost:8080/resin-doc/index.jsp >> >> Works perfectly. >> >> 4. Now i add to resin-doc a new file "indexXML.jsp". >> 5. I add the standard.jar (1.0.6) to resin-doc/WEB-INF/lib/ >> 6. Receiving now a SAXParseException, when calling >> http://localhost:8080/resin-doc/indexXML.jsp > > I think in resin 3.1.x you should use http://java.sun.com/jsp/jstl/core > for the "c" JSTL tags. (note the extra "/jsp/") > The changed indexXML.jsp: <?xml version="1.0" encoding="UTF-8"?> <jsp:root xmlns="http://www.w3.org/1999/xhtml" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.1"> <c:set var="locale">de_AT</c:set> <c:out value="${locale}"/> </jsp:root> -- View this message in context: http://www.nabble.com/SAXParseException-when-using-%28jakarta%27s%29-JSTL-in-JSP-%28Resin-3.1%29-tp15136126p15143991.html Sent from the Resin mailing list archive at Nabble.com. _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest