Packages are created to avoid collision in namespace...
Supposing you have two different classes with same name, you need to associate the class with a package to make clear that the class comes from a particular package... Thanks and Regards, Sharadha Yadav M.S. Infosys Technology Ltd. -----Original Message----- From: vijay r [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 11:32 AM To: Struts Users Mailing List Subject: why do we need to create packages Hello, I was wondering why do we need to create packages to keep our ActionForms, Action classes. Can't we do without creating packages. I created the .class files in WEB-INF\classes directory and gave no package names in struts-config.xml file. It gave NullPoniterException - Error creating form bean of class Test. regards, vijay. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]