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
egards, 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

RE: why do we need to create packages

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

why do we need to create packages

2006-06-06 Thread vijay r
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 cre