Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
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





 
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.
 
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).
 
Please do not shoot the fish in this barrel. But you can shoot at this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic