• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
karthik ekantha
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 989
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at your error logs again. Is that the full error message that you got?
 
karthik ekantha
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 989
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic