This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Exception creating bean of class web.struts.form.CompanyRegistrationForm

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
I am having a problem here with my CompanyRegistrationForm and CompanyRegistrationAction. It says Exception creating bean of class web.struts.form.CompanyRegistrationForm

amazing fact is that, I have successfully made 2 other forms (userLogin and userRegistration) with their actions and they are working fine but i don't what is wrong with my 3rd form(CompanyRegistrationForm) i have checked all the settings in struts-config.xml and in the companyRegistration.jsp and i didn't find anything wrong there. also thre are no Typo mistakes in any of these files.
Please suggest something if any of you have experienced similar issue before.

code samples are attached below;

struts-config.xml:



companyRegistration.jsp I am taking inputs for two DB tables in one jsp, and so this is defined in my CompanyRegistration.hbm.xml


CompanyRegistrationForm.java



CompanyRegistrationAction.java


I hope I have provided enough details!

as soon as I open the registration form with this URL:http://localhost:802/main/companyRegistration.jsp it gives following execption;

 
Haris Farooque
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Suprise Suprise!

Amazing problems have amazing solutions!

i removed the '/' from my companyRegistration.jsp in form action and it started to work
previously:


now>


i don't know if this is a typo mistake or else because my other 2 JSPs are working fine with '/'

anyway this problem is resolved. i hope things will work fine but if not then, of course, i will get back again

regards
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic