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?!
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
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
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
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
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
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
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.
8 matches
Mail list logo