hi,
the index.jsp you post in here, does not have a link to
search.jsp just 2 lines of text.
So i cant reproduce the error you described.
For example this index.jsp presents a link to search.jsp and it works:
(of course html:link will work too)
<%@ taglib uri="http://struts.apache.org/tags-html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 6:06 PM
To: Struts Users Mailing List
Subject: re: Problem in Struts Tags
the problem is that row is a generic object until you cast it i think. I
have used this in then past by using syntax
Hi BHansard
U r wrong the following not works, jsp page d't compile
" />
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 6:06 PM
To: Struts Users Mailing List
Subject: re: Problem in Struts Tags
the problem is that row
ou would have to cast the get to a string as it will return a generic object as well.
Paul Moody <[EMAIL PROTECTED]>
Paul Moody <[EMAIL PROTECTED]>
07/19/2005 07:53 AM
Please respond to
"Struts Users Mailing List"
To
'Struts Users Mailing List'
n JSP
> page why?
> type="java.util.HashMap">
>value="<%=row.get("VALUE")%>"/>
>
> -Original Message-----
> From: Paul Moody [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 19, 2005 3:38 PM
> To: Struts Users Mailing
D]
Sent: Tuesday, July 19, 2005 3:38 PM
To: Struts Users Mailing List
Subject: RE: Problem in Struts Tags
I would expect you to have a problem with the jsp. You
have an ArrayList with each element being a Map. When
you iterate over the ArrayList with the logic:iterate
tag each element, identified b
property="VALUE"/>"/>
>
>
>
>
> -----Original Message-
> From: Marsh-Bourdon, Christopher
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 19, 2005 3:21 PM
> To: 'Struts Users Mailing List';
> [EMAIL PROTECTED]
> Cc: [EMA
m: Marsh-Bourdon, Christopher
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 3:21 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Problem in Struts Tags
You are adding the HashMap as an item to the ArrayList, not replacing
the
contents of
You are adding the HashMap as an item to the ArrayList, not replacing the
contents of the ArrayList with the contents of the HashMap. Try this:
List shippers = new ArrayList(map);
Instead of:
shippers.add(map);
And get rid of:
ArrayList shippers = new ArrayList();
Cheers
Christopher Marsh
9 matches
Mail list logo