Hi Erik,
Could it be that you try to iterate over a Map?
Nope - just a collection. Here is an example of the problem (tested
with tomcat 5.0.19) :
Sample1.jsp
===
%@ page import=java.util.Collection,
java.util.ArrayList,
Hi Erik,
Only difference I can see from my example is this:
%@ attribute name=items required=true %
jsp:directive.attribute name=objects
type=java.lang.Object
required=true/
That was it - I added the type=java.util.Collection to my attribute
Hi,
I am using jsp2 on Tomcat 5.0.18.
I want to a write tag file that is sort of like a specific version of
the foreach tag - I want to pass in a collection of objects (not
strings).
When passing the collection to the tag file it seems to evaluate the
toString on each element and then pass this
Hi,
The problem I think is due to tomcat using its XML parser code to process
yours.
It has an old DOM v1 parser - which means if you use new v2-only methods,
you get this kind of error.
The work around we use is to remove the jaxp/parser jar files from the
tomcat lib and drop in the xerces
Hi,
From: Joel Cordonnier [mailto:[EMAIL PROTECTED]]
I use Tomcat 3.2 with Win2k
I deploy an web application under webapps/MyApp. I use
a web.xml under webapps/MyApp/WEB-INF
My main servlet is in webapps/MyApp/MyMainServlet.
Is it a class file? I'd have thought you'd put it
Hi,
I am trying to use jboss, which loads a jndi.properties file off the class
path to get some application configuration data.
This is a cut down version of what the code does;
public class Servlet1 extends javax.servlet.http.HttpServlet
{
protected void