jQuery in Action, 2nd edition
The moose likes Struts and the fly likes please help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "please help "javax.servlet.jsp.JspException: Failed to obtain specified collection"" Watch "please help "javax.servlet.jsp.JspException: Failed to obtain specified collection"" New topic
Author

please help "javax.servlet.jsp.JspException: Failed to obtain specified collection"

karthik ekantha
Ranch Hand

Joined: Feb 08, 2012
Posts: 78
i got struck with this error .please help


this is success.jsp




this is Registrationform.java





this Registerationaction.java






this StateData.java





E Armitage
Ranch Hand

Joined: Mar 17, 2012
Posts: 220
Look at your error logs again. Is that the full error message that you got?
karthik ekantha
Ranch Hand

Joined: Feb 08, 2012
Posts: 78
E Armitage wrote:Look at your error logs again. Is that the full error message that you got?


there is no error logs my file
E Armitage
Ranch Hand

Joined: Mar 17, 2012
Posts: 220
You are running this on tomcat or Jboss or some web container or application server. That server has a log file that it starts when you deploy your application. It uses it to log things about your application including full exception stack traces if an exception propagates to it. Find out where that log file is and check it. You will need it for future errors anyway.
karthik ekantha
Ranch Hand

Joined: Feb 08, 2012
Posts: 78
E Armitage wrote:You are running this on tomcat or Jboss or some web container or application server. That server has a log file that it starts when you deploy your application. It uses it to log things about your application including full exception stack traces if an exception propagates to it. Find out where that log file is and check it. You will need it for future errors anyway.


i using the tomcat server with help of eclipse . i am searched tomcat but not there in tomcat ..
E Armitage
Ranch Hand

Joined: Mar 17, 2012
Posts: 220
Eclipse should have been showing you the errors. Anyway, in your eclipse, go to the servers view and right click the server you have added there (the Tomcat), chose open to see the server definition in eclipse.
Then look for the "Server path" entry in the properties for the server. Your log files should be in a subfolder of that path.
Guy Belpa
Ranch Hand

Joined: Nov 21, 2004
Posts: 41

Make sure this action forwards to the JSP, and then call the URL for the action (/myaction.do) rather than calling the JSP directly (/mypage.jsp).
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: please help "javax.servlet.jsp.JspException: Failed to obtain specified collection"
 
Similar Threads
Action problem
State Exception
HTTP Status 500 -org.apache.jasper.JasperException: /Success.jsp(35,52) quote symbol expected
i got this error in stucts???
jsp:useBean id not clear