wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Sun jsp tutorial and ant" Watch "Sun jsp tutorial and ant" New topic
Author

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

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


Dave
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
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 java.sun.com
Bill
------------------
author of:
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Bill
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?
Thanks
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sun jsp tutorial and ant