My mind is saturated right now, so I am asking the obvious to be sure.
Servlets are the base server-side employment of JAVA technology.
Is this correct ? I just want to make sure I read the right docs and books.
For my own websites, which I just recently converted from php to Java, I just work on a war locally, and when I think it's ready, I just copy it to my Tomcat server. It's hardly much admin at all.
Have fun with Servlets and JSPs.
Originally posted by Cameron W. McKenzie:
....I just copy it to my Tomcat server. It's hardly much admin at all.
All I have had time to do so far is take the link the noted in the first reply, get the zip file and open it up. I obtained server space and wish to do a business-oriented website, but tend to race ahead of my skills.
If and when you have the time and interest, expand on the above two sentences. All I have noted is that the built-in index page uses Tomcat, I asssume that I can just take the sources returned by this built in page and study them - thus providing a seasoned place to start.
What directory do Servlets go in, and does one have to do chmod on the directory ?
[ January 12, 2007: Message edited by: Nicholas Jordan ]
Originally posted by Nicholas Jordan:
.. What directory do Servlets go in, and does one have to do chmod on the directory ?
There isn't 'a' directory for servlets.
An entire webapp can be deployed either as a war archive (jar file with a specific directory structure) or as a directory tree.
Within that webapp, there are a couple options for packging up your Java class files (including your servlet class files).
You'll save yourself a lot of time and headaches if you start out by reading a book or tutorial on servlets before starting to hack out your own stuff.
Originally posted by Ben Souther:
You'll save yourself a lot of time and headaches if you.....
Okay, will take your adivice and move forward as directed.
Books can lead back here, but I wasted a lot of time re-inventing Hashtables, only to find them along with a rich toolbox of already rolling wheels in Java.
Don't want to end up like the Moose.