Servlets
Hello,
I installed Centos 6.3 as a workstation. Both JDK and Tomcat 6 are installed. Where should I place *.class files? What is the url I should use to access the servlet? I have tried to search online but couldn't find a specific solution which added to the confusion from the book I'm reading. Thanks in advance, Mike |
Hello, the easiest (and correct) way to do this, is:
add a "web.xml" file, package it into a ".war" archive using the "jar" utility and copy the ".war" to the tomcats "webapps"/"deploy" directory. http://www.avajava.com/tutorials/les...r-command.html Maybe Eclipse has a wizard to help you with that ? Cheers, Tom. |
All times are GMT -5. The time now is 10:13 AM. |