Well, no answers so I solved it myself ;-)

I had to add the line:
<jsp:directive.page contentType="text/html;charset=windows-1252" />

That solved the problem!


Regards Line 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 6. september 2005 12:25
To: user@struts.apache.org
Subject: JSTL and taglibs

Hi!
 
In our application we wanted to change the taglib-definisjon from <?xml
version = '1.0' encoding = 'windows-1252'?>
 
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="1.2"
          xmlns:bean="http://jakarta.apache.org/struts/tags-bean";
          xmlns:html="http://jakarta.apache.org/struts/tags-html";
          xmlns:logic="http://jakarta.apache.org/struts/tags-logic";
          xmlns:tiles="http://jakarta.apache.org/struts/tags-tiles";>
 
to
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>

etc...

This change causes a c:foreach to repeat itself three times. Changing back to
jsp:root removes this error.

Anyone who knows anything about this. Why c:foreach suddenly repeats?

Kind regards 

Line A. Sele

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to