Mark E Hansen wrote:First, have a look at the Servlets and JSP FAQ here on the Ranch: http://faq.javaranch.com/java/JspFaq.
Here's a link to a great tutorial on Servlets and JSPs: http://courses.coreservlets.com/Course-Materials/csajsp2.html
Here is a page which provides PDF downloads for all chapters of the book: Core Servlets and JavaServer Pages (complete book, including both volume 1 and 2). The end of the page includes a number of other useful links as well: http://pdf.coreservlets.com/
That should get you started.
I've been working through the courses.coreservlets.com, and I want to thank you for posting it. I want to thank Piyush Patel too and will probably have a look over there next.
But regarding the former, Mark, after getting
Tomcat up and running, and successfully running a few basic servlets, I thought ...
"let me continue on here basically where I had left off using Orion", especially because it seems a bit easier to 'develope' using Tomcat".
But the tutorial is mostly geared towards using Eclipse instead of
Ant directly / manually, and where I am having trouble now is getting my Tomcat/Ant/build.xml (i.e.: deployment) set up similar to the JavaRanch Servlet tutorial (which I just ran through on my own, BTW) has Orion set up; namely letting Ant do all the work of building, jarring, deploying the project. I don't want to do this using javac and shortcuts and all that (which is fine, admittedly, for simple stuff); I want to do it that 'right' way.
Being relatively new to Ant, and very new to Tomcat, and generally new to Servlets/JSP, as I said, I could use a little extra direction if anyone would be so kind. My questions revolve around setting up the build file to work with Tomcat's different directory structure. Thanks!