Failed To Obtain Specified Collection Error
E Armitage Rancher Posts: 989 9 posted 4 years ago Eclipse should have been showing you the errors. I don't think the people who wrote this application I'm maintaining really "got the point" of struts, or OO design at all really.... /rant -Josh -- "His comrades hope this will help other who came to this post thru search Ricardo Martinez Greenhorn Posts: 1 posted 3 years ago Hello Everyone! karthik ekantha Ranch Hand Posts: 78 posted 4 years ago E Armitage wrote:Look at your error logs again. Check This Out
Cheers, -Josh -- "His comrades fought beside him, Van Owen and the rest... i got struck at one point for the past two days, i am posting my code and stack trace. Lior Red Flag This Post Please let us know here why this post is inappropriate. That server has a log file that it starts when you deploy your application. https://coderanch.com/t/478797/Struts/framework/javax-servlet-jsp-JspException-Failed
RE: JspException: Failed to obtain specified collection liorza (Programmer) (OP) 13 Mar 04 15:40 I am doing a JSP forward.I am getting this when validate is set to true and the Click Here to join Tek-Tips and talk with other members! Where should I look for my mistakes? Close this window and log in.
Source contains files of interest. Please read this for more information. It uses it to log things about your application including full exception stack traces if an exception propagates to it. I want to list values using optionsCollection tag but i am getting Error.
It's obviously found the field, because if I change the reference in the JSP to something wrong, it gives me a different error ("No getter found" or something similar). But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [hidden email] *************************************************************************** Messages included in this e-mail Post the tag from your JSP that results in the error and the related getter(s) from your ActionForm for more specific assistance. -Max On Mon, 2006-01-09 at 12:53 +1000, Josh McDonald posted 7 years ago vrushali chaskar wrote: Showing Error javax.servlet.ServletException: Failed to obtain specified collection root cause javax.servlet.jsp.JspException: Failed to obtain specified collection org.apache.struts.taglib.html.OptionsCollectionTag.doStartTag(OptionsCollectionTag.java:178) First of all, UseCodeTags IsolateTheProblem Now exception,
java mohamed Greenhorn Posts: 9 posted 5 years ago i am geeting same issue ... Is that the full error message that you got? Revanth reddy Ranch Hand Posts: 52 posted 7 years ago Problem solved !!! i want to populate data in drop down.
- Please help on this error.
- I think I should use "request" scope in my web app and that is whyI am trying to understand why & when struts is throwing this error.
- it's able to retain the value of other controls on the jsp screen.
Guy Belpa Ranch Hand Posts: 41 posted 4 years ago Struts may require an indexed getter method for for your collection. posted 6 years ago Hi Abhik, Would you show your web.xml? posted 6 years ago Hi All members, I have gone through many struts related sites and threads on JavaRanch forum about runtime problem obtained using struts tag