hey , i am new to servlets .. can anyone suggest me a book ..
i am currently reading java complete reference...
in the book the text is based on tomcat 4.0 but i have installed tomcat 5.5
for the first basic example of servlet the book says to copy the class file of the servlet in the folder
but no such folder exists in my tomcat home...there are only two folders in the webapps- root and tomcat-docs.
can any one help...
Did you try out just hitting the Tomact home page first to see if it works fine? Should be something like http://localhost:8080
Whats the message that you get in the browser- is it a 404 or a internal server error? Do you get any message in th tomcat console?
Have you created a proper deploy folder (examples should have a dir named WEB_INF -- all capital & web.xml --- both a needed).
Being rude when asking for help isn't really the smartest of ideas specially when you some really talented programers are answering some pretty basic questions just to help you out ...
ankur tyagi wrote:can you please recommend me some book...
Have a look at http://pdf.coreservlets.com Here you can download chapters for the book in PDF format for free. You'll see you also have access to a couple great Servlet tutorials via that page. This book was a great resource for me while I was learning Servlets and JavaServer Pages.