Hi everyone.. i get confused about the directory structure that Java requires while compiling ... i mean to say i do not get what these classpath issues really are ?? Recently i have been following the Head First Servlet and JSP book where in the 3rd chapter they build a simple web app.. they suggest creating a development environment first (anywhere on the disk)DevelopmentEnvironment.JPG


and then with the help of Tomcat they chose to deploy the files and so they create a deployment environment DeploymentEnvironment.JPG

Now what i want to know is that is it necessary to create the development environment??? can't we do everything only in the Deployment Environment??? and also kindly make me clear about what Development Environment and Deployment Environment are... and what rules they imply.. Also i would like to know the process of compilation using the classpath.. I really don't understand those things.... I hope some of you good people out there will lend me a helping hand and help me understand these topics... Thanks in advance and hoping for quick replies...