Home Tutorialhelp Comment Solution - could not be resolved as a collection

 
 

Comment

sri kodali
Solution - could not be resolved as a collection,
July 7, 2009 at 11:48 AM

Hi All,
I'nk, if Struts doesn't find any getter methods in the action class, then it'll generate the error like - The requested list key 'fruits' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location]"

As I's able to solve the above issue by just adding the getters in the specified class.

cheers
Srikanth Kodali.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Struts 2 Tutorials

Checkboxlist Tag (Form Tag) Example
Checkboxlist Tag (Form Tag) Example       In this section, we are going to describe the checkboxlist tag. The checkboxlist tag is a UI tag that creates a series of checkboxes from a list. Setup is like < 

Struts 2 Tutorials

struts2.2.1 checkboxlist tag example.
struts2.2.1 checkboxlist tag example. In this turtorial, you will see the use of  checkboxlist tag example of struts2.2.1.The checkboxlist tag is a UI... of CheckBoxList tag example.  1- index.html <html> <head>< 

Framework Questions

STRUTS2
STRUTS2  sir but my question is using ApplicationResources.properties in STRUTS 2.i cant get the values into my application.but in the exmple given... give the solution to me.Thanks 

Struts Questions

Struts2
Struts2  Hi, I need a solution for displaying success message in same page in struts2. how to redirect same page in struts2.Please help me.   hi friend, To know how redirect action can be done in struts 2 you can go 

Struts Questions

tree tag in struts2 - Struts
tree tag in struts2  I have an arraylist of values retrieved from the database and i want all the values in the arraylist to be viewed in a subtree node. like:::: COUNTRYLIST has values INDIA,UK,USA. INDIA,UK,USA 

Struts Questions

Achor tag. Struts2 code - Struts
Achor tag. Struts2 code  Hi All, How to send the values form one jsp page to another using anchor tag (or any which is similar to achor) in Struts? Please help me. I am waiting for the answer. Regards, Sandeep 

Struts Questions

Achor tag. Struts2 code - Struts
Achor tag. Struts2 code  Hi All, How to send the values form one jsp page to another using anchor tag (or any which is similar to achor) in Struts? Please help me. I am waiting for the answer. Regards, Sandeep   

Struts Questions

Struts2 - Struts
Struts2  Hi, I am using doubleselect tag in struts2.roseindia is giving example of it with hardcoded values,i want to use it with dynamic values. Please give a example of it. Thanks 

Struts Questions

Struts2 - Struts
Struts2  S:select tag is being used in my jsp, to create a drop down list. The drop down works very well in Mozilla, but in IE7 it behaves very weird, meaning that the drop down wen clicked it just jumps out from the first row 

Struts Questions

select tag in Struts2 to handle Enums - Struts
select tag in Struts2 to handle Enums  I have an java enum in my object. I am trying to set its values from struts2 select tag. I tried with "#list... to handle enums in struts2 select tag ?   Hi friend, Code to solve 

Struts Questions

Struts2 tags - Struts
Struts2 tags  Q1. i define a statement like " style= "visibility:hidden" in my struts2. this statement is not working. Can you please tell me the solution of this. Q2. if above code can not work then how can i do 

Struts Questions

query on struts2 - Struts
query on struts2  I am using struts2 for my application.i have a form that contains 'select' tag, for this i am getting values form DB. The problem is after i am submitting the form it is giving the following error 

Struts Questions

How to add another option to the select tag using struts2 tag - Struts
How to add another option to the select tag using struts2 tag  Hi, How to add another option to select tag using tag. My scenario is : If the logged in user is admin then drop down should contain the normal list 

Struts Questions

using displaytag with struts2 - Struts
it more simple and better to use than struts2 tag to generate the output on web page. Now, no doubt that struts2 is a very powerful framework to develop any...using displaytag with struts2   Hi, i am using struts2 framework 

Struts Questions

Struts2 and Hibernate
Struts2 and Hibernate  Sir/ madam, Can we use iterator tag in struts for fetch the database value and shown on form. if yes then how 

Struts Questions

Help in Struts2
Help in Struts2  Hi, in struts 2 how to get the values from db and show in jsp page using display tag or iterator tag thanks in advance 

Struts Questions

Struts2 ComponentTagSupport - Struts
Struts2 ComponentTagSupport   I am working on struts2 custom tags using ComponentTagSupport. I am referring to this link http... working. but my requirement is with the help of my custom tag i have to display 

Struts Questions

Struts2 tag
Struts2 tag  function of hidden tag?   Hi Friend, <s:hidden> tag create a hidden value field.It means it stores the value but cannot be visible. For more information, visit the following link: Struts2 Tutorial 

Struts Questions

struts2
struts2  dear deepak sir plz give the struts 2 examples using applicationresources.properties file 

Struts Questions

struts2 Autocompleter
struts2 Autocompleter  hi. I am working Auto Completer Example...-example.shtml but it has a error occurred . "" No tag "autocompleter" defined in tag library imported with prefix "s" "" thanks venu   Hi 

Struts Questions

struts2
struts2   Sir when i have run my struts 2 web application,every time i get error " request resources is not available",,,what is this,,,plz help me 

Struts Questions

Struts2
Struts2  Hi I am using struts 2,In struts2 architecture ,I couldn't understand the purpose of ActionMapper and ActionProxy.My Question is,when the request comes into the picture,the filterdispatcher consult the ActionMapper 

Struts Questions

struts2 select tag multiple
struts2 select tag multiple  struts2 select tag multiple 

Struts Questions

struts2 - Struts
Struts2 and Ajax Example  how to use struts2 and ajax 

Struts Questions

struts2 - Struts
struts2  how to pre populate the fields using struts2 from the database 

Struts Questions

Struts2 netbeans 6.5.1 application error - Struts
Struts2 netbeans 6.5.1 application error  i develop struts simple application in netbeans 6.5.1 but every time generate appache error Requested resources not available in so give me solution please any body 

Design concepts & design patterns Questions

Include tag example in Struts
Include tag example in Struts   hi... sir. This is sreenu sir. I am learning struts2 but i have a small doubt i am using include tag. ex... include tag ..... is not displayed pls telll me sir.? i using this tag using 

Free Magazine

Struts2
been resolved in the struts 2 framework. Most of the Struts 2 classes are based...Struts2           Apache Struts: A brief Introduction Apache Struts is an open 

Struts Questions

struts2 - Struts
struts2  hello, am trying to create a struts 2 application that allows you to upload and download files from your server, it has been challenging for me, can some one help  Hi Friend, Please visit the following 

Struts Questions

Struts
is not only thread-safe but thread-dependent. Struts2 tag libraries provide...Struts  Why struts rather than other frame works?   Struts is used into web based enterprise applications. Struts2 cab be used with Spring 

Struts Questions

Regarding struts tag and struts dojo tags.
Regarding struts tag and struts dojo tags.  Hi, in the auto completer example, auto completer tag is of dojo library. So how does prefix of struts library provide that tag. In my code if i do the same : <td><s 

Struts Questions

Struts2 connection pooling - Struts
Struts2 connection pooling  Dear Friends , How to make connection pooling in "Struts

Struts Questions

Struts2 connection pooling - Struts
Struts2 connection pooling  Dear Friends , How to make connection pooling in "Struts

Struts Questions

struts2+hibernate - Struts
struts2+hibernate  How to use hibernate 3 with struts 2 application? kindly reply with example 

Struts Questions

dwr with struts2 - Struts
dwr with struts2  CAn u help me how to use dwr with struts2 

Struts Examples

Struts2 Actions
is usually generated by a Struts Tag.    Struts 2 Redirect Action In this section, you will get familiar with struts 2 Redirect action... Struts2 Actions       Struts2 Actions 

Struts Questions

struts2 folder struture - Struts
struts2 folder struture  Hi, I just want to know the exact folder structure required for the struts2 application? Its urgent 

Struts Questions

Struts2 UI - Struts
Struts2 UI  Can you please provide me with some examples of how to do a multi-column layout in JSP (using STRUTS2) ? Thanks 

Struts Questions

Value Retain in struts 2 - Struts
Value Retain in struts 2   Hi, I am trying to retain values in .jsp pages using struts2 tag.Can anyone help with the solution. Thanks in advance!  hi You go the following url. Get your solution 

Struts Questions

Still have the same problem--First Example of Struts2 - Struts
Still have the same problem--First Example of Struts2  Hi I tried... tried my own example. Its not displaying the "Struts Welcome" message and also... Please provide me a solution at the earliest. Thanks a lot in advance.   

Struts Questions

Struts2 Validation Problem - Struts
Struts2 Validation Problem  Hi, How to validate field that should not accept multiple spaces in Struts2? Regards, Sandeep  Hi... in the browser having the example of handling the error in struts 2. http 

Blog

Sitemap Struts Tutorial
Login Application | Struts 2 | Struts1 vs Struts2 | Introduction... Manager on Tomcat 5 | Developing Struts PlugIn | Struts Nested Tag...) | Date Tag (Data Tag) | Include Tag (Data Tag) in Struts 2 | Param Tag (Data 

Struts Questions

contains for list in struts2 - Struts
contains for list in struts2  Is there any way to check in the list or for existence of an enum ? Something like list.contains(string). iterating over list I want to do something like Display x display y 

Struts Questions

Struts2 blank application - Struts
Struts2 blank application  Hi I am new to struts2 and i am trying to run the strutsblank application by following the following Link; http://www.roseindia.net/struts/struts2/index.shtml As per the instructions given 

Struts Questions

tiles 2 with struts2 - Struts
tiles 2 with struts2   i wnat any one to guide me : how can i integrate struts2 with tiles2 i searched for long time on the web i see many code and configurations but every one of them has a problem can any one give me   

Framework Questions

datetimepicker not working in struts2
datetimepicker not working in struts2  Hi, I am using "struts2-dojo-plugin-2.1.6.jar" and the taglib is "<%@taglib prefix="d" uri="/struts-dojo-tags"%>" **sample code:** <%@taglib prefix="s" uri="/struts-tags 

Struts Questions

struts collection problem in Mozilla
struts collection problem in Mozilla   I used the to get list of records, if records are more than 15-20 then this is not seen properly with vertical scroll bar on Mozilla. Plz help me 

Training

Struts2 Training
Tag Submit Tag Reset Tag Day--5 A Simple Struts2 Login Application... Struts2 Training     Apache Struts is an open-source framework that is used to develop Java applications. Struts 

Struts Questions

how to prepopulate data in struts2 - Struts
how to prepopulate data in struts2  I wanted to show the data from database using Struts

Struts Examples

Struts1 vs Struts2
collection and indexed property support. Struts 2 can use JSTL... Struts1 vs Struts2    Struts2 is more... differences between struts1 and struts2           

Struts 2 Tutorials

Example of struts2.2.1 bean tag.
Example of struts2.2.1 bean tag. In this tutorial, you will see the use of bean tag of struts2.2.1 tag. The Bean tag is a generic tag that is used to instantiates a class that confirms to the JavaBeans specification. This tag has a body 

Struts Questions

New to struts2
New to struts2   Please let me know the link where to start for struts 2 beginners   Struts 2 Tutorials 

Struts Questions

How to Assign struts2 property to jsp variable
visit the following link: Assign struts 2 property to JSP The above link will provide you a good example that will illustrate you struts property tag easily...How to Assign struts2 property to jsp variable  In Struts2 <s 

Struts Questions

Migrating from struts1to struts2 - Struts
Migrating from struts1to struts2  Hi, I have found the best tutorial for struts in this Roseindia site. So thank you very much for your... that application to struts2? If you can provide the source code it will be great. Regards 

Struts Questions

struts html tag - Struts
struts html tag  Hi, the company I work for use an "id" tag on their tag like this: How can I do this with struts? I tried and they don't work 

Framework Questions

struts2 - Framework
and mainly i want support with tiles(struts 2)...now which struts2 jars i have to use...struts2  Hello, I am sathish.. I got problem in stuts2 ? Do tomcat5.5 support struts2 ? Now , currently my application running on tomcat 6 

Struts Questions

How to Assign struts2 property to jsp variable
visit the following link: Assign struts 2 property to JSP The above link will provide you a good example that will illustrate you struts property tag easily...How to Assign struts2 property to jsp variable  In Struts2 <s 

Framework Questions

Struts2 netbeans 6.5.1 application problen - Framework
Struts2 netbeans 6.5.1 application problen  1) i develop struts simple application in netbeans 6.5.1 but every time generate appache error... () is not available. sir give me solution 2)in struts netbeans structure where we can 

Struts Questions

Struts2 Internationalization
Struts2 Internationalization  Hi How to use i18n functionality for indian languages in struts2 ? I am able to use french and english but none... the following links: http://www.roseindia.net/struts 

Framework Questions

struts2 - Framework
struts2  Hello, I am sathish i got one problem with struts2 framework...i want to create a jsp page in struts2 i need two buttons in tha jsp...; Hi Satish, Struts 2 uses tiles internally and hence if you dont specify 

Struts Examples

Struts nested tag Example
Struts nested tag Example       The tag library ?nested? is included in Struts... with the help of struts nested tag library.  Nested tags are used in the nested 

Struts Questions

struts.xml in struts2
struts.xml in struts2  What is the struts.xml file ? Who it is loads?   Hi Samar, The struts.xml is a XML file. Which is used to struts configuration. It divides the application in to modules. Struts use 

Free Magazine

Struts2 Tags
Struts2 Tags           Apache Struts is an open-source framework used to develop Java web applications. In this section, struts 2 form tags (UItags) will be discussed 

Struts Questions

Struts tag - Struts
Struts tag  I am new to struts, I have created a demo struts application in netbean, Can any body please tell me what are the steps to add new tags to any jsp page 

Struts Questions

struts - Struts
included third sumbit button on second form tag and i given corresponding action the form tag... but it is giving error.. can you please give me solution... buttons it is going to action in the form tag.. but if we click on third submit 

Struts Questions

Visibal Certical scrollbar with struts collection layout.
Visibal Certical scrollbar with struts collection layout.  how to Visibal Vertical scroll bar with struts collection layout 

Hibernate Interview Questions

Integrate Hibernate to struts2.
Integrate Hibernate to struts2.  How to Integrate Struts Hibernate 

Struts Questions

Scrollbar problem with struts <layout:collection>
Scrollbar problem with struts   How activate the vertical scrollbar in struts in mozilla firefox 

Free Programming books

Struts Books
see the Struts Tag Library in action - use tags for HTML, javabeans, logical... such as internationalization, exception handling, logging, and the Struts tag libraries... Tag Library. Using Tiles. The JSTL and Struts. Internationalization (I18N 

Free Magazine

Struts2 Data Tags
Struts2 Data Tags           Struts2 Data Tags Apache Struts is an open-source framework used to develop Java web applications. We started introducing struts 

Framework Questions

struts2 - Framework
struts2  thnx ranikanta i downloaded example from below link http://www.roseindia.net/struts/struts2/struts-2-hello-world-files.shtml i m..." and nameSpace="/code" inside tag. then Change the class string inside tag class 

Struts Questions

tags in struts2
tags in struts2  Hello I am using simple tags in struts2. Like..." pageEncoding="ISO-8859-1"%> <%@ taglib prefix="s" uri="/struts.../struts/struts2/struts2-login.shtml More Struts2 Tutorials 

Struts Questions

struts2 properties file
struts2 properties file  How to set properties file in struts 2 ?   Struts 2 Format Examples Struts 2 Tutorial 

Design concepts & design patterns Questions

struts 1.x
struts 1.x   hi... sir. This is sreenu sir. I am learning struts2 but i have a small doubt i am using include tag. ex include tag is not displayed pls telll me sir.? i using this tag using but it is not work pls give 

Struts Questions

using struts1 and struts2 in one application - Struts
using struts1 and struts2 in one application  My Application is in Struts 1.0 and all further enhancements to the application must be struts 2.0. and in future we will migrate entire application to struts 2.0.Is it possible 

Struts Questions

File Upload in struts2 - Invalid field value for field
File Upload in struts2 - Invalid field value for field   Hi I am also getting following error while trying to upload a file using struts file tag..."%> <%@ taglib prefix="s" uri="/struts-tags"%> Insert title here 

Java Beginners

solution
solution   A developer wants you to develop a simple take away restaurant order service. The system reads from a file containing information about the restaurant (such as the name, place and menu). The system then allows the user 

Java Beginners

solution
solution   A developer wants you to develop a simple take away restaurant order service. The system reads from a file containing information about the restaurant (such as the name, place and menu). The system then allows the user 

Struts Questions

Struts2 And Hibernate Configuration
Struts2 And Hibernate Configuration  Sir, I am new to struts2, I am trying to write a program using struts2 and hibernate. I want to know how.... Bachan Sahoo   Struts Hibernate Integration 

Struts Examples

Struts 1.x Vs Struts 2.x
, but relatively weak collection and indexed property support. Struts 2 can also use... Struts 1.x Vs Struts 2.x      ... frameworks. Struts 2.x  is very simple as compared to struts 1.x,  few 

Struts Questions

action tag - Struts
action tag  Is possible to add parameters to a struts 2 action tag? And how can I get them in an Action Class. I mean: xx.jsp Thank you 

Struts Questions

Struts ForwardAction vs Forward tag in jsp - Struts
Struts ForwardAction vs Forward tag in jsp  difference between struts ForwardAction class and Forward tag in jsp 

Struts Questions

struts validation problem - Struts
parameter for the message tag or any other alternative solution?  Hi...struts validation problem  i used client side validation in struts 2 .but message will display only on the top of the component.i want to display 

Struts Questions

datetimepicker not displayed in struts2
datetimepicker not displayed in struts2  Hi, I am facing problem in struts2(2.1 version) to diaplay datetimepicker. sample code: <%@taglib prefix="s" uri="/struts-tags"%> <%@taglib prefix="d" uri="/struts-dojo-tags 

Design concepts & design patterns Questions

which one is better Struts2 or JSF
which one is better Struts2 or JSF  Which framework is better for the development of core banking solution for the presentation layer Struts2 or JSF2.Request you to explain with the valide reason. Thanks in Advance 

Struts Questions

STRUTS2 Dynamic data is not updated
STRUTS2 Dynamic data is not updated  Hi All, I am new in struts and try to make an application in struts2. Need help on dynamic data content..., please let me know if i miss some important part of struts2 I used below tags 

Struts Questions

STRUTS2 Dynamic data is not updated
STRUTS2 Dynamic data is not updated  Hi All, I am new in struts and try to make an application in struts2. Need help on dynamic data content..., please let me know if i miss some important part of struts2 I used below tags 

Framework Questions

Captcha in Struts2 Application
Captcha in Struts2 Application  Hi, Iam working with the code... of using Captcha in Struts 2 application. We have provided the code and given the detailed description of using captcha in Struts 2 web application. Read 

Struts Examples

Why Struts 2
of design problem of struts1 framework that has been resolved in the struts 2.... Better Tag features - Struts 2 tags enables to add style sheet-driven.... Struts 2 tags are more capable and result oriented. Struts 2 tag markup can 

Struts 2 Tutorials

Iterator tag example of struts2.2.1
the iterator tag to iterator over the collection of Integers. Here the integer...Iterator tag example of struts2.2.1 In this tutorial, we will introduce you to about the iterator tag. Iterator tag is used to iterate over a value 

Java Beginners

PdfCopyFields cannot be resolved - Java Beginners
PdfCopyFields cannot be resolved  PdfCopyFields cannot be resolved but other classes in the iText-2.1.0.jar are resolved. Any suggestions? Thanks 

Java Beginners

struts2
struts2  sir.... i am doing one struts2 application and i have to make pagination in struts2....how can i do 

Flex Questions

combobox cannot be resolved in JavaFX
combobox cannot be resolved in JavaFX  I want to design one application with a combobox containing items. and while selecting i want to give user autocomplete suggestion. but while doing this combobox is not getting resolved. i 

Struts Questions

logic iterate tag - Struts
logic iterate tag  Hey I am displaying the values in a jsp called categoryView.jsp using logic iterate tag as Now properties bname and quant belongs to another formbean named as ViewCategoryForm.java.When I 

Struts Questions

struts logic:iterate tag
struts logic:iterate tag  Hi All, I am writing a look up jsp which is using logc:iterate every thing is fine except this the problem here is unable to go inside the tag. Here is the stack trace I am getting. [#|2010-10-27T00 

Framework Questions

tiles using struts2
tiles using struts2  hello, im implementing tiles using struts2 in eclipse. i am having following problem occurred during execution.i have created.../struts-tiles.tld org.apache.jasper.compiler.DefaultErrorHandler.jspError 

Struts Questions

Generating dynamic fields in struts2
Generating dynamic fields in struts2  Hi, I want generate a web page which should have have some struts 2 tags in a group and a "[+]" button.... Thanks.   Hi Friend, Please visit the following link: Struts2 Tutorial 

Struts Questions

Display Tag Related - Struts
Display Tag Related  Hi, I am using display:column to display list of values on my jsp and i want to sort those values. sorting is working for all the attributes if i specify sortable = "true". but i have to display one column 

Struts 2 Tutorials

Struts2 tag refrences and Example
 

Struts Questions

Struts
Struts   How will you retrieve a collection of records from business logic to presentation logic in framework 

Advertisements Advertisements
 

 

 

DMCA.com