, and then directly reference the entry of the other
> collection using that value.
>
> > -Original Message-
> > From: Justin Mahoney [mailto:[EMAIL PROTECTED]
> >
> > Hi,
> > I have two Collections (ArrayLists) with an equal number of
> > ele
9)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Thanks again,
Justin
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 10:58 AM
To: Struts Users Mailing List
Subject: RE: Using logic:iterate with twin Collections
Collections (ArrayLists) with an equal number of
> elements that
> are directly related to each other, but the child elements have no
> references to each other. How can I use the logic:iterate tag
> to iterate
> over the first and pull out the corresponding element fro
Hi,
I have two Collections (ArrayLists) with an equal number of elements that
are directly related to each other, but the child elements have no
references to each other. How can I use the logic:iterate tag to iterate
over the first and pull out the corresponding element from the other for use
in
Thats not. You use something like or an other tag that
uses message resources. But the Struts-Framework can't find the
resourceBundle..
Manfred
Gregory F. March wrote:
Make sure your getters and setters conform to the Java naming conventions - I
got burned by something similar and that was t
Make sure your getters and setters conform to the Java naming conventions - I
got burned by something similar and that was the root cause...
HTH...
/greg
On Sep 26, 2003, "MaFai" <[EMAIL PROTECTED]> wrote:
|Hello, struts-user,
|
|[code]
|
|
|
|
|[/code]
|
|customers
Hello, struts-user,
[code]
[/code]
customers is set by request.setAttribute
pps is string value.
testb is a int value
If remove the testb ,it run smoonthly.
If change testb to boolean,it also run smoothly.
Otherwise
It always throw the exception
org.apache.jasper.JasperExc
uhh.. Never mind. Figured it out. Told you all it would be something
stupid.
Forgot to add the <%@ taglib uri="/tags/struts-bean" prefix="bean"%>...
Sorry to waste bandwidth.
--
Bryce Fischer <[EMAIL PROTECTED]>
-
To unsubscr
To partially answer my own question, I changed this:
>
> CenterTitleTotal
> type="com.berzerkersoft.bisweb.db.ejb.value.CenterBrowseValue">
>
>
>
>
>
to read:
CenterTitleTotal
Element Value:
and I get the exact number of "E
Basic question, should be easy, but I"m obviously missing something easy.
Trying to iterate through a java.lang.Set collection that I have put in
my session. My jsp will display the header information, but nothing else.
This is my jsp. It is a tile, so what you see below is the complete
content f
m.net:81/~march-=-AIM:GfmNet
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You said you have these entries in your form:
But the logic:iterate tag offset and length attributes need th
On Sep 15, 2003, "Susan Bradeen" <[EMAIL PROTECTED]> wrote:
|I think this might be one of those cases where you go through "comment out
|parts of your JSP code and try again" iterations to find what is causing
|the error. Not very elegant, but it has worked for me.
Thanks Susan, that's wh
On 09/15/2003 01:36:51 PM "Gregory F. March" wrote:
> On Sep 15, 2003, "Mainguy, Mike" <[EMAIL PROTECTED]> wrote:
>
> |1st, Thank you, I didn't realize the logic:Iterate tag had those two
> |properties, so you've indirectly saved me some effo
On Sep 15, 2003, "Mainguy, Mike" <[EMAIL PROTECTED]> wrote:
|1st, Thank you, I didn't realize the logic:Iterate tag had those two
|properties, so you've indirectly saved me some effort.
:
Thanks for the answers...
As a first go-round, I'm trying the bean:def
g List'
> Subject: RE: Passing variables for logic:iterate
>
>
> 1st, Thank you, I didn't realize the logic:Iterate tag had those two
> properties, so you've indirectly saved me some effort.
>
> 2nd, After looking at the source code for the iterate tag, it
> lo
1st, Thank you, I didn't realize the logic:Iterate tag had those two
properties, so you've indirectly saved me some effort.
2nd, After looking at the source code for the iterate tag, it looks like it
tries to look up those two values straight out of the pageContext. This
would imply t
robert
> -Original Message-
> From: Gregory F. March [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2003 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Passing variables for logic:iterate
>
>
>
> Ok, this is probably a dumb questio, but here it goes...
Ok, this is probably a dumb questio, but here it goes...
I am trying to iterate over a portion of a list. I have calculated the
portion (the offset and length) in my action. I have two entries in my
DynaValidatorForm:
And I am doing a myform.set("pageOffset", String.valueOf(myCa
(805) 563-0666 Office
+001 (708) 570-2772 Fax
---
- Original Message -
From: "Mohan Radhakrishnan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, September 12, 2003 8:48 AM
Subject: RE: assigning a valu
ght also use the logic:equal tag instead of scriptlets.
Mohan
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 8:06 PM
To: Struts Users Mailing List
Subject: Re: assigning a value back to a bean in a logic:iterate?
I am basically trying t
t: RE: assigning a value back to a bean in a logic:iterate?
>
> value="content_tbl_blue" />
>
>
> This code defines a scripting variable but I think that since you don't
have
> any html controls this value is not automatically sent with the request.
ssage-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 7:44 PM
To: struts
Subject: assigning a value back to a bean in a logic:iterate?
I have the following code I want to make work:
..
I have the following code I want to make work:
stuff
test blue
But I can't seem assign "cellColor" attribute back into alertListForm.
---
Thanks
Mic
r occurs but no update of the qty or deliveryMethod
occurs. If I remove the indexed="true" it says that setter methods for qty
and deliveryMethod is missing, which is a lie since a TradeProduct has
those, and tp points to a TradeProduct.
Any help is much appreciated. A complete example html:sel
Luck
David
- Original Message -
From: "Ian Joyce" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 1:56 PM
Subject: logic:iterate
> Hi,
>
> Can someone give me an example of how to iterate over an ArrayList of
> Strings using
Hi,
Can someone give me an example of how to iterate over an ArrayList of
Strings using the iterate logic tag?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi *,
Is there any possibility of sorting the data elements in the form bean with
all indexed properties in it. I need to display this data using
logic:iterate tag. does struts provide any functionality similar to this.
The data has to be displayed in html table format, by selecting any
checkboxes according... Plss let me know if you know of anything else...
Thanks,
Raghu
-Original Message-
From: Susan Bradeen [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 2:00 PM
To: Struts Users Mailing List
Subject: Re: Resetting of Checkbox when using logic:iterate Tag
Are
Are you using the reset() method of your ActionForm to set the checkbox to
null or false?
http://jakarta.apache.org/struts/faqs/newbie.html#checkbox
Susan Bradeen
On 08/22/2003 12:32:17 PM "Raghu.Ramakrishnan" wrote:
> Hi,
>
> I have one issue, that is I have some checkboxes within my
> , and
Hi,
I have one issue, that is I have some checkboxes within my
, and
1) When the user clicks on the checkbox, the property corresponding to
the checkbox is set to 'on'.
2) When the user de-clicks the checkbox(removes the check), the checkbox
is still set to 'on', how do we reset the
Hello, I have a problem with using inside .
The code I use:
...
...
The object with id="date" is of type java.util.Date. The documentation of
says, "if property is not specified, the value of the bean itself will be rendered".
But my JSP throws an Exception: Cannot find bean date in any
--- Aaron Humphrey <[EMAIL PROTECTED]> wrote:
>
>
> > If both JSTL and Struts are failing, it's probably your code that's
> > broken.
>
> > David
>
> Often a reasonable assumption, in the circumstances, but it turns out
> not so.
>
> I got my page to work with a straight Servlet full of out.pr
> If both JSTL and Struts are failing, it's probably your code that's
> broken.
> David
Often a reasonable assumption, in the circumstances, but it turns out not so.
I got my page to work with a straight Servlet full of out.println() statements.
Then I got it working using one Servlet filling
:
logic:iterate tag fails on large dataset, succeeds on
smallone?
Hi,I am using struts validator in the logon.jsp of my
application. If I don'tenter the username & click on submit the
message displayed is "null isrequired". Instead it should be "Use
Hi,
I am using struts validator in the logon.jsp of my application. If I don't
enter the username & click on submit the message displayed is "null is
required". Instead it should be "Username is required".
The part of the code in the validator-rules.xml is correct. I have given
msg="errors.requir
r
> of
> > fields with no problem. As an added bonus you'll get improved page
> > rendering time because containers can optimize the performance of JSTL
> > tags.
>
> Okay, I got JSTL 1.0 working on my machine(after giving up on 1.1, which
> is
> apparently too
t; rendering time because containers can optimize the performance of JSTL
> tags.
Okay, I got JSTL 1.0 working on my machine(after giving up on 1.1, which is
apparently too bleeding-edge). Replacing logic:iterate with c:forEach is
straightforward.
And I still get the same problem. Oh, the exc
I suggest you use the JSTL's tag instead of the Struts iterate
tag. I have dynamic query pages that use forEach and display n number of
fields with no problem. As an added bonus you'll get improved page
rendering time because containers can optimize the performance of JSTL
tags.
David
--- Aar
I am trying to do a very simple data-display web application using Struts, with MySQL
on the
back end.
Basically, I take a ResultSet and its ResultSetMetaData and put it into some beans. I
have a
TableDataView object which contains a FieldList and a RecordCollection. FieldList has
a property
Hi All,
I have two Collection element in my action form. Now I need to access the
elements stored in these collection.
I want to access the elements from both these collections using a single
rather than using two different logic:iterate for these
Collection.
Is there any way to access these
ogic:empty inside logic:iterate
I'm trying to display a checkbox only if a field is not empty. This
logic is applied in a tag as in the code below. No
matter what the property values are, the checkbox is always displayed as
if the logic check is not made. I have tried logic:empty,
logic:notEmpt
I'm trying to display a checkbox only if a field is not empty. This
logic is applied in a tag as in the code below. No
matter what the property values are, the checkbox is always displayed as
if the logic check is not made. I have tried logic:empty,
logic:notEmpty, logic:equals, logic:notEquals an
thanks for help!!!
Wagner!
- Original Message -
From: "Paananen, Tero" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 4:30 PM
Subject: RE: Help Logic:Iterate
> > please i need of a
> please i need of a example of Iterate!!!
http://www.google.com/search?q=logic%3Aiterate+example
http://groups.google.com/groups?q=logic%3Aiterate+example
-TPP
-
This email may contain confidential and privileged material f
: struts list
Subject: Fw: Help Logic:Iterate
Friends,
please i need of a example of Iterate!!!
Thank!!
Wagner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Friends,
please i need of a example of Iterate!!!
Thank!!
Wagner
J. Vincent" <[EMAIL PROTECTED]>
Date: Tue, 8 Jul 2003 13:42:27 -0400
To: <[EMAIL PROTECTED]>
Subject: RE: Problems with logic:iterate (indexId has no effect) - doesn'tanyone
know the solution?
> Bard,
>
> I'm not sure if you have figured this out or not, bu
ts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Problems with logic:iterate (indexId has no effect) - doesn't
anyone know the solution?
> I wouldn't use a vector, but maybe you can?
>
> My understanding is that iterate works on anything
> that returns an iterator.
Message -
From: Sandeep Takhar <[EMAIL PROTECTED]>
Date: Mon, 7 Jul 2003 10:13:33 -0700 (PDT)
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Problems with logic:iterate (indexId has no effect) - doesn'tanyone
know the solution?
> I wouldn't use a
I wouldn't use a vector, but maybe you can?
My understanding is that iterate works on anything
that returns an iterator.
logic:iterate name="someName"
should be used when the bean someName is in some scope
and is the collection that you want.
logic:iterate name=&quo
I didn't think this was a big problem for you Struts-gurus, but maybe I'm wrong :-)
I have a vector called variationmargins and in it I have a property called loadProfile
that is either 1 or 2 for all postings. I have tried to use the logic:iterate tag to
output the result using the l
The following link should help:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg71256.html
however it talks about using el, but this is not
necessary.
I have got the nested tags to work properly. The
logic tag should work, but I think I was doing
something slightly wrong when I tried.
Remembe
Hi,
I have a vector called variationmargins and in it I have a property called
loadProfile that is either 1 or 2 for all postings. I have tried to use the
logic:iterate tag to output the result using the loadProfile as an index,
but it has not effect. It just outputs everything, no matter the
hi all,
i have a Map-backed action Form which contains an HashMap
the ActionForm is as follows
public MapActionForm extends ActionForm {
HashMap table = new HashMap();
public void setValue(String key, String value) {
...
}
public Object getValue(
make things work?
WN> Kind regards
WN> Nadja Weber
WN> -Ursprungliche Nachricht-
WN> Von: Dirk Markert [mailto:[EMAIL PROTECTED]
WN> Gesendet: Donnerstag, 3. Juli 2003 17:21
WN> An: Struts Users Mailing List
WN> Betreff: Re: logic:iterate length question
WN> Hello
Any ideas on how to make things work?
Kind regards
Nadja Weber
-Ursprungliche Nachricht-
Von: Dirk Markert [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 3. Juli 2003 17:21
An: Struts Users Mailing List
Betreff: Re: logic:iterate length question
Hello Nadja,
according to the docs
Hello Nadja,
according to the docs:
"The length value or attribute name (<=0 means no limit)."
Thus, it's a feature.
***
WN> Hello all,
WN> I have a question regarding the length attribute of . If I set it
to "0" it seems to ignore
Hello all,
I have a question regarding the length attribute of . If I set it to
"0" it seems to ignore the length attribute and iterate through the whole collection.
Is that a bug or a feature?
Thanks
Kind regards
Nadja Weber
T-Systems
Systems Integration
Business Unit Entwicklungszentrum
To: Struts Users Mailing List
> Sent: Tuesday, June 24, 2003 8:28 PM
> To: Struts Users Mailing List
> Subject: RE: logic:iterate using HashMap
>
> On Tue, 2003-06-24 at 10:46, O_Parthasarathy Kesavaraj wrote:
>
> > > O_Parthasarathy Kesavaraj írt
Rick Reumann[SMTP:[EMAIL PROTECTED]
> Reply To: Struts Users Mailing List
> Sent: Tuesday, June 24, 2003 8:28 PM
> To: Struts Users Mailing List
> Subject: RE: logic:iterate using HashMap
>
> Thanks rick.I loaded a select box containing
On Tue, 2003-06-24 at 10:46, O_Parthasarathy Kesavaraj wrote:
> > O_Parthasarathy Kesavaraj írta:
> Thanks Tib.I did look at the docs.But i got struck up.If u have any
> sample code pls send.
I admit the docs I think are lame on this area. This should work..
-
JSTL should be
> --
> From: Gemes Tibor[SMTP:[EMAIL PROTECTED]
> Reply To: Struts Users Mailing List
> Sent: Tuesday, June 24, 2003 7:46 PM
> To: Struts Users Mailing List
> Subject: Re: logic:iterate using HashMap
>
> O_Parthasarathy Kesavaraj írta:
O_Parthasarathy Kesavaraj írta:
How to iterate thro HashMap using logic:iterate?
You did not look into the docs, did you?
http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate
Normally, each object exposed by the iterate tag is an element of the
underlying collection you are
How to iterate thro HashMap using logic:iterate?
Regards
Partha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You might need to add this before your :
-Original Message-
From: Shashank Dixit [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 7:44 AM
To: Struts Users Mailing List
Subject: Logic:Iterate - Pls Help.
Hello All
Can somebody pls explain how to use
I am using following
Hello All
Can somebody pls explain how to use
I am using following code
What I understood from the documents is myCollection element will be create when
in doStartTag of logic:iterate. And it will be stored in pageContext so that WriteTag
will access it. But I got the
nt: Friday, June 20, 2003 11:53 AM
Subject: Re: Logic:iterate
HI,
where is ur "list" coming from??
---Original Message---
From: Struts Users Mailing List
Date: Friday, June 20, 2003 11:22:39 AM
To: Struts Users Mailing
Subject:
Logic:iterate
Hello AllCan somebody pls explain how to use
I am using following
codeWhat I understood from the
documents is myCollection element will be create whenin doStartTag of
logic:iterate. And it will be stored in pageContext so that WriteTag
will
Hello All
Can somebody pls explain how to use
I am using following code
What I understood from the documents is myCollection element will be create when
in doStartTag of logic:iterate. And it will be stored in pageContext so that WriteTag
will access it. But I got the
Sandeep,
you are spot on. I cannot believe I have wasted a few hours over this.
Thankyou very much.
Ralph
-Original Message-
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 18 June 2003 10:13 AM
To: Struts Users Mailing List
Subject: RE: logic:iterate displaying blanks
uot;userName" />
>
>
>
> auditDate= property="auditDate" />
>
> user name= property="userName" />
>
>
-
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 June 2003 9:25 PM
To: Struts Users Mailing List
Subject: Re: logic:iterate displaying blanks
I think you want to do a
html:form action="/showLogs.do" ?
also, check to see what your html source is for this
form line and ve
nal Message-
> From: Matt E [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 17, 2003 11:23 AM
> To: Struts Users Mailing List
> Subject: RE: logic:iterate problems
>
>
> Hello!
>
> Changed the code to read:
>
> <%
> Collection c = ...getProductLines();
&
Next element is
Doesn't matter what scope you put it in.
-Tim
-Original Message-
From: Matt E [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:23 AM
To: Struts Users Mailing List
Subject: RE: logic:iterate problems
Hello!
Changed the code to read:
<%
Co
t; Hello,
>
> Try to put your collection in the pageContext and
> not in the request...
>
> Strut's tags works a lot with the pageContext...
>
>
> -Original Message-
> From: Matt E [mailto:[EMAIL PROTECTED]
> Sent: mardi, 17. juin 2003 17:09
> To:
Hello,
Try to put your collection in the pageContext and not in the request...
Strut's tags works a lot with the pageContext...
-Original Message-
From: Matt E [mailto:[EMAIL PROTECTED]
Sent: mardi, 17. juin 2003 17:09
To: Struts Users Mailing List
Subject: Re: logic:iterate pro
> <%
> Collection c = ...getProductLines();
> Iterator it = c.iterator();
>out.print(it);
> %>
This worked as expected. It wrote:
[EMAIL PROTECTED] to the HTML, which
leads me to belive that the collection is returning an
iterator.
I then tried this (after deleting the above):
<%
Co
If i were you, i would check like this in my jsp:
<%@ page import="java.util.Collection" %>
<%@ page import="java.util.Iterator" %>
<%
Collection c = ...getProductLines();
Iterator it = c.iterator();
out.print(it);
%>
do not yet util the above code run
ok.And then you can be sur
> and then:
>
>
>
>
> you can alse put your collection into the jsp scope
> variable somewhere in your action.
>
> hope it helps.
>
> guo
>
> --- Matt E <[EMAIL PROTECTED]> µÄÕýÎÄ£º> Hello
> All!
> >
I think you want to do a
html:form action="/showLogs.do" ?
also, check to see what your html source is for this
form line and verify that it is using the "name"
element from your struts-config.
sandeep
--- RALPH ROPER <[EMAIL PROTECTED]> wrote:
> hi,
>
> I had a good search on the user group a
hi,
I had a good search on the user group and could not find any answer for this
one. I have a DispatchAction class, called ShowLogsAction that goes away and
returns a list of LogItem items. All the properties on LogItem are public eg
public String auditDate
ShowLogsAction
System.out.pri
guo
--- Matt E <[EMAIL PROTECTED]> 的正文:> Hello All!
>
> I'm running into some problems getting the
> logic:iterate tag to work.
>
> I have a class who's full name is
> org.ellism.tir.util.DatabaseConstantsAdapter. It
> has
> a public method, getInstance()
Hello All!
I'm running into some problems getting the
logic:iterate tag to work.
I have a class who's full name is
org.ellism.tir.util.DatabaseConstantsAdapter. It has
a public method, getInstance() that returns an
instance of itself (The class itself is a singleton).
This class ha
Hi all,
I am unable to use arraylists , their indexed props inside logic:iterate tags
either I can have the iteration or i can have the data displayed it seems :D
The problem is
-
From: bhanu sistla [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 6:08 AM
To: [EMAIL PROTECTED]
Subject: bean:write with in logic:iterate
How to use bean:write with in logic:iterate when we have a collection.
I have got a collections where i want to iterate through each element in the
How to use bean:write with in logic:iterate when we have a collection.
I have got a collections where i want to iterate through each element in the collection
Regards
Bhanu
-
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
Default offset is zero , is it not?
> -Original Message-
> From: J, Sadhasivam (Cognizant) [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 16, 2003 1:00 PM
> To: Struts Users Mailing List
> Subject: RE: logic:iterate issue
>
>
> Offset property is there in it
Offset property is there in iterate check it up please
-Original Message-
From: raghu_c [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 12:54 PM
To: [EMAIL PROTECTED]
Subject: logic:iterate issue
Hi -
My logic:iterate tag doesnt loop thru the no of elements in the list :(
Can
Hi -
My logic:iterate tag doesnt loop thru the no of elements in the list :(
Can someone help?
My jsp goes something like this
- Original Message -
From: "Michael C. Clark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 12:55 PM
Subject: logic:iterate ActionForm array
> I'm trying to populate a multibox from an array that lives in my
> ActionForm (like
I'm trying to populate a multibox from an array that lives in my
ActionForm (like the example in Ted's book p. 298). I keep getting a
NullPointerException when the logic:iterate tag trys to read the
String array property from the ActionForm.
If I create the String array in the JSP
-
From: "Sashi Ravipati" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 9:33 AM
Subject: Logic:iterate
i have the following code in my .jsp
in my act
" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 9:33 AM
Subject: Logic:iterate
i have the following code in my .jsp
in my action form I have
private String[
On Tuesday 10 June 2003 10:42, Nadja Senoucci wrote:
> Hello,
>
> this seems to be my day of problems. ;) Anyway, I have this code in my
> .jsp:
>
>
> type="java.util.ArrayList"/>
> type="java.util.ArrayList"/>
>
>
>
>
>
>
>
>
>
>
> And I keep getting the following error:
>
> Generated
Hello,
this seems to be my day of problems. ;) Anyway, I have this code in my .jsp:
And I keep getting the following error:
Generated servlet error:
suchen$jsp.java:231: Variable 'fields' is already defined in this method.
java.util.ArrayList fields = null;
But I am not declaring t
ng what you
are
trying to do.
Can you explain further?
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
- Original Message -
From: "Sashi Ravipati" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 9:33 AM
S
st
http://www.struts-atlanta.org
- Original Message -
From: "Sashi Ravipati" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 9:33 AM
Subject: Logic:iter
i have the following code in my .jsp
in my action form I have
private String[] FirstName={};
private String[] iterator={"",""}; // For testing i initialised to 2
values
public String[] getFirst
I know that this is an old post, but I had a same problem last night, so I
thought I feedback on what my problem was.
in my action class...
...
request.setAttribute("productList", productList); // bean list
...
in my Logic:Iterate, I got a "javax.servlet.ServletException: No bea
Hi
I'm getting an ClassCastException when using a tags.
Action
...
List productList = uc.apply(sqlQuery); // returns a List of Product objects
request.setAttribute("productList", productList);
...
View
...
...
java.lang.ClassCastException: $Proxy0
at org.apache.jsp.productLis
101 - 200 of 661 matches
Mail list logo