wood burning stoves 2.0*
The moose likes Struts and the fly likes please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
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
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
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
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
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
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
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://aspose.com/file-tools
 
subject: please help "javax.servlet.jsp.JspException: Failed to obtain specified collection"