One thing that may help is using an IDE to generate this for you. Eclipse with the Tomcat plugin is a decent one. I put all my business logic class files in a jar and put it under /WEB-INF/lib. Again, Eclipse with the ZipCreator plugin is very useful for automating that process.

David






From: "Vinay" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Layout of code
Date: Fri, 17 Jan 2003 17:04:45 -0500

Hi all,
I have started developing a project using MVC architecture using struts. I would like to know how to organize the application code in Tomcat . I am using Tomcat 4.1.18 and struts 1.1b3. I would like to know where the Presentation logic(JSP) should go ,Business Logic , Database logic and Controller logic should go . I would like to know the package or folder organization of a context or application should be laid out in general.I am planning to use the dyna validator framework , for the project so ActionForms will be used wherever necessary.Are there any simple examples that will help in laying out the architecture.

Help appreciated.

Thanks

Kumar

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


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

Reply via email to