This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Sun jsp tutorial and ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Sun jsp tutorial and ant" Watch "Sun jsp tutorial and ant" New topic

Sun jsp tutorial and ant

Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Hi everyone
I'm trying to teach myself jsp and then servlets. I've got the java J2EE tutorial and am trying to work through it. I downloaded and installed tomcat and everything is working fine.
In the tutorial it keeps refering to building files using 'ant'. Is this something that needs to be done or is that only for servlets? I thought that jsp apges were interpreted/compiled when initially served by the server so they didn't need to be precompiled.
The other part of my question is: does it matter which one I learn first? Should I learn JSPs first or servlets, or doesn't it matter?
thanks for your help

Sun Certified Programmer for the Java� 2 Platform
[This message has been edited by Dave Vick (edited August 31, 2001).]

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
ANT is a rather cool utility for performing various tasks such as compiling a bunch of files and copying the class files somewhere.
It is not necessary - you just see that mention because the Apache Java projects all use it.
I always suggest learning the basics of servlets before hitting JSP. You will understand JSP a LOT quicker. Be sure to get the servlet and JSP API documents from
author of:
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Thanks for the advice. now I have another question: Is your book the 'Developers guide to servlets and jsp' a beginning java book or just servlets and jsp? From the table of contents it looks like it is a more advanced book, but the editorial review on the amazon site says it a beginning java book. I dont need a beginning book as I already know Java and have my SCJP so I'd be more interested in something that doesn't cover the java basics. If your book doesn't fit the description can you recommend one that does?
I agree. Here's the link:
subject: Sun jsp tutorial and ant
Similar Threads
MySQL data to show on Tomcat
JSP or servlets first?? ..
Which one..CX-310-081 or CX-310-082 ?
Need Help on DAO
Learning JSP