Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

Re: Where to place to bean classes?

Your Jitendra lathi

2003-08-28

Replies:

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:chsuresh76@(protected)]
>> Sent: Tuesday, August 26, 2003 12:04 PM
>> To: SERVLET-INTEREST@(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 listserv@(protected)
>> 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 listserv@(protected)
> 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 listserv@(protected)
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


©2008 junlu.com - Jax Systems, LLC, U.S.A.