Hi again,
yes, you can define it like this:
java.util.Collection col = new java.util.ArrayList();
I hope it helps you,
Eider
On 06/03/07, cisco <[EMAIL PROTECTED]> wrote:
So how would you define the collection ?
Can you provide a snipet of code.
Thanks
Hello,
you can not define the ArrayList like you did it. You have to define like
this:
The collection to be iterated over MUST conform to one of the following
requirements in order for iteration to be successful:
- An array of Java objects or primitives.
- An implementation of java.util.Co
neet Lakhina <[EMAIL PROTECTED]> wrote:
On 11/13/06, Eider Iturbe <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> You mustn´t add an ArrayList in request scope, you have to add a
> Collection
> of objects of the class "uservo" .
Dont really know what you are trying to s
Hi,
You mustn´t add an ArrayList in request scope, you have to add a Collection
of objects of the class "uservo" .
Regards,
--
Eider
On 11/13/06, santas <[EMAIL PROTECTED]> wrote:
HI
i tried what u said but stil the same error is shown to me
i have set the list with key "users"
then i fir
Hi,
In order to use tag, you have to define and set a
"Collection" type object in your ActionForm. In this object, you'll have
your list.
public class myFormBean extends ActionForm
{
private String idSelected = null;
...
private Collection myList = new ArrayList();
...
}
And the Collection is
Hi!
I'm looking for a method in org.apache.struts.action.ActionMapping that
returns the name of the action or jsp that has
invoked my action (this action is the owner of the ActionMapping). Which is
this method ?
thanks in advance,
--
Eider
On 7/11/06, Samere, Adam J <[EMAIL PROTECTED]> wrote
here do I tell struts if I want sv, no or the ordinary
ApplicationResources file? Will struts fall back on the
ApplicationResources.properties file as default?
Den 6/27/2006, skrev "Eider Iturbe" < [EMAIL PROTECTED]>:
Hi!
The ApplicationResources.properties file is usually ins
Hi!
The ApplicationResources.properties file is usually inside source part, and
not in Web Content part. For example, you can create a package called "i18n"
and then you can save the ApplicationResources.properties file there. Then,
you have to set this in struts-config.xml:
Another question,
I don't know how to implement in jsp the code to read all the values of the arraylist,
Eider
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I've defined in a formBean called "adminFormBean" this:
private List anulFarms = new ArrayList();
public void setAnulFarms(int key, long anulFarm) {
this.anulFarms.add((long) anulFarm);
}
public long getAnulFarms(int key) {
return (Long)anulFarms.get(key);
}
setCmax then the property should
be accessed as "cmax" in any of the struts tag.
Have a Good Day!!!
Best Regards
Pal
-----Original Message-
From: Eider Iturbe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 22, 2005 3:03 PM
To: Struts Users Mailing List
Subject: Problem:
Hi!
Hi!
I have a problem with defining an scripting variable with:
/type="java.lang.Integer"/>
/and this property is defined into the bean called adminFormBean like this:
/private int Cmax = 0 ;
public void setCmax(int cmax) {
this.Cmax = cmax;
}
public int getCmax() {
t know if exist a way to do this, but this is not the way.
Eider Iturbe
<[EMAIL PROTECTED]To: Struts Users
Mailing List
es> cc:
bcc:
Hi all!
I have a problem: Tomcat can't compile next code of a JSP:
The problem is the script part: "<%=fechabaja%>".
Can anyone help me, please? Thanks!
Eider
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
:802)
In OC4J container it runs well. Can anyone help me? Thanks,
Eider
Wendy Smoak wrote:
From: "Eider Iturbe" <[EMAIL PROTECTED]>
I've developed a web application using JDeveloper and I've tested it
using JDeveloper's embedded server, OC4J. Now I'm
Hi Struts users!
I've developed a web application using JDeveloper and I've tested it
using JDeveloper's embedded server, OC4J. Now I'm attempting that this
web application works in Tomcat (version 5). But I've problems, because
Tomcat can't compile some code.
Do I have to install/add any li
16 matches
Mail list logo