• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic