Re: Where to place to bean classes?

Jitendra Lathi <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
hi,
 here i am sending you very basic structure where u can put bean
WEB-INF
„¥„Ÿ„Ÿ„Ÿclasses
„    „¥„Ÿ„Ÿ„Ÿcal
„    „¥„Ÿ„Ÿ„ŸcompressionFilters
„    „¥„Ÿ„Ÿ„Ÿfilters
„    „¥„Ÿ„Ÿ„Ÿlisteners
„    „¥„Ÿ„Ÿ„Ÿcolors
„    „¥„Ÿ„Ÿ„Ÿnum
„    „¥„Ÿ„Ÿ„Ÿexamples
„    „¥„Ÿ„Ÿ„Ÿdates
„    „¥„Ÿ„Ÿ„Ÿcheckbox
„    „¥„Ÿ„Ÿ„Ÿsessions
„    „¥„Ÿ„Ÿ„Ÿvalidators
„    „¤„Ÿ„Ÿ„Ÿerror

here under directoy classes create an package( i.e directory) and place u
bean (.java)...for more see cal example

another if u know context, then set context of ur project path in
server.xml.. this is good practice to put ur project into virtual
directory...

I Wayan Saryada writes:

> Hi,
>
> Place your classes in the classes directory under the WEB-INF/classes in
> your
> web application. If your bean is in a jar format you can place it inside
> the lib directory under the WEB-INF/lib.
>
> Package structure in my opinition is needed, so you can separate you
> components
> base on their function.
>
> Regards,
> Wayan
>
>> -----Original Message-----
>> From: suresh babu [mailto:[email protected]]
>> Sent: Tuesday, August 26, 2003 12:04 PM
>> To: [email protected]
>> Subject: Where to place to bean classes?
>>
>>
>> Hi,
>>   I'm new to Jsp programming.Im using tomcat.now i'm learning
>> jsp.I don't know where to place bean classes in tomcat.Is  it in
>> classes folder or any other?and is it necessary to create package
>> structure for the bean classes?
>> Kindly give me a detailed msg.
>> Thanks
>> suresh
>> ___________________________________________________
>> Art meets Army ; Swapna Weds Capt. Rajsekhar.
>> Rediff Matchmaker strikes another interesting match !!
>> Visit http://matchmaker.rediff.com?2
>>
>> ______________________________________________________________
>> _____________
>> To unsubscribe, send email to [email protected] and
>> include in the body
>> of the message "signoff SERVLET-INTEREST".
>>
>> Archives: http://archives.java.sun.com/archives/servlet-interest.html
>> Resources:
>> http://java.sun.com/products/servlet/external-resources.html
>> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>>
>
> ___________________________________________________________________________
> To unsubscribe, send email to [email protected] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



Have a nice day

Jitendra Lathi
Axis Software Pvt.Ltd.
Pune - 411 004
020-5530297 Ext. 34
www.axistech.com

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.