• Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a small struts application and it works fine. But today morning when I start the tomcat and while accessing the below url

http://localhost:8080/TEST/LoginPage.do

Am getting




This is from Stuts-config.xml

Please assist me
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a form on the page? One that would require a form bean?
 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes form is there



But am not using any form fields on the page
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't matter, if I remember correctly.

If you're not using any form fields, why are you bothering to use a form tag?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!