Re: why do we need to create packages

2006-06-07 Thread Dave Newton
vijay r wrote: > But how come its working. My ActionForm is instantiated by some class > in the struts package. How can that class see my ActionForm which is > in an anonymous package. What? Because your class is on your classpath in an un-named package. Why do you think it shouldn't find it?!

Re: why do we need to create packages

2006-06-07 Thread vijay r
Its not that I do not want to create any packages, I just wanted to check whether the ActionForms, Actions work without a package or not. http://marc.theaimsgroup.com/?l=tomcat-user&m=104265745710637&w=2 My ActionForm, Action have no packages and they are working. I made a silly mistake in str

RE: why do we need to create packages

2006-06-07 Thread Sharadha Yadav
That's cool.. Thanks and Regards, Sharadha Yadav M.S. Infosys Technology Ltd. -Original Message- From: Sateesh Nelluri [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 12:49 PM To: Struts Users Mailing List Subject: RE: why do we need to create packages Hi See

RE: why do we need to create packages

2006-06-07 Thread Sateesh Nelluri
ts Users Mailing List Subject: Re: why do we need to create packages vijay r ha scritto: > That's fine. I know why packages are for. But why is it necessary to > create packages to keep our ActionForm classes, Action classes. Name > collision is the problem which the development team ha

Re: why do we need to create packages

2006-06-06 Thread Antonio Petrelli
vijay r ha scritto: That's fine. I know why packages are for. But why is it necessary to create packages to keep our ActionForm classes, Action classes. Name collision is the problem which the development team has to tackle. What if the development team decides to name classes starting with their

RE: why do we need to create packages

2006-06-06 Thread Sharadha Yadav
Sent: Wednesday, June 07, 2006 11:45 AM To: Struts Users Mailing List Subject: Re: why do we need to create packages That's fine. I know why packages are for. But why is it necessary to create packages to keep our ActionForm classes, Action classes. Name collision is the problem which the develo

Re: why do we need to create packages

2006-06-06 Thread vijay r
That's fine. I know why packages are for. But why is it necessary to create packages to keep our ActionForm classes, Action classes. Name collision is the problem which the development team has to tackle. What if the development team decides to name classes starting with their Employee ID, probabi

RE: why do we need to create packages

2006-06-06 Thread Sharadha Yadav
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.