thank you. i had already solved the problem and it was indeed the package ... i created a 'servlets' dir and placed the
servlets in there with 'package servlets;' good work -----Mensagem original----- De: Mike Jackson [mailto:[EMAIL PROTECTED]] Enviada: quinta-feira, 13 de Fevereiro de 2003 17:04 Para: Tomcat Users List Assunto: RE: my first servlet Is your servlet in a package? You if it is and you haven't specified a name for the servlet you'll need to supply the package and class name, ie http://localhost:8081/servlet/org.dorkmaster.servlet.db2xml Also, you might also want to remember that the java style guidelines specify that classes should start capitalized (Db2xml) and that subsequent words in the class name should also be capitalized (Db2Xml). I don't have a link to the guidelines, but I'm sure someone else can offer one. --mikej -=----- mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Jose Moreira [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 12, 2003 3:00 AM > To: Tomcat Users List > Subject: my first servlet > > > hello, i created my first servlet called db2xml but when i try to > access it > i get : > > http://localhost:8081/servlet/db2xml > > > Apache Tomcat/4.0.4 - HTTP Status 503 - Servlet db2xml is currently > unavailable > > type Status report > > message Servlet db2xml is currently unavailable > > description The requested service (Servlet db2xml is currently > unavailable) > is not currently available. > > > > ps.: im using Netbeans 2.4.1 IDE and the servlet whas wizard-created. > > what could be the problem? thank you > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
