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 this clarification from Will Hartung.

http://marc.theaimsgroup.com/?l=tomcat-user&m=104265745710637&w=2

Hope this should clear the things..

-sateesh


-----Original Message-----
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 12:23 PM
To: Struts 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 has to tackle.
> What if the development team decides to name classes starting with
> their Employee ID, probability of name collision decreases
> considerably. Is it strictly enforced by Struts to use packages.

In my experience I had sometimes tried to write some servlet-based
applications with classes with no packages, just to make a test and
without using Struts. It may seem strange but I got a lot of strange
errors, such as classes not found. When I modified the code simply
adding a package everything went fine.
But the question is: why don't you want to use packages? I think it is a

Java convention since 1.0 that you have to name your packages reversing
your domain URL (com.hello.etc.). I think that not using packages is
only a question of lazyness.
Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Information transmitted by this EMAIL is proprietary to iGATE Group of
Companies and is intended for use only by the individual
or entity to whom it is addressed and may contain information that is
privileged, confidential, or exempt from disclosure under
applicable law. If you are not the intended recipient of this EMAIL
immediately notify the sender at iGATE or [EMAIL PROTECTED]
and delete this EMAIL including any attachments
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


---------------------------------------------------------------------
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]

Reply via email to