Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sun jsp tutorial and ant

 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic