Agrade�o se alguem disser como fazer isso... Estou no Windows Nt , Instalei a Apache , JServ, JSdk, Jdk1.22 e configurei tudo. Rodei a apeche na url " http://localhost/" tudo okei! Fui para "http://localhost/jserv" rodou OK .Fui para os arquivos mapeados tudo oK! Crie meus repositorios tudo bem!! Peguei o class Hello.class e tentei rodar em diversas URL "http://localhost/jserv/Hello" "http://localhost/jserv/Hello.class" tentei usar o path "http://localhost/jserv/production/project1/Hello.class" Eu estou querendo rodar a URL e n�o consigo PERGUNTA . Qual URL devo usar? Sei que algumas class so rodam com metodos "POST" ou "GET". OK eu nao consigo rodar a p�gina !! Please Help!! Peguei este programinha Hello.java do examples do JServ import java.io.*; import javax.servlet.*; import javax.servlet.http.*; /** * This is a simple example of an HTTP Servlet. It responds to the GET * and HEAD methods of the HTTP protocol. */ public class Hello extends HttpServlet { /** * Handle the GET and HEAD methods by building a simple web page. * HEAD is just like GET, except that the server returns only the * headers (including content length) not the body we write. */ public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter out; String title = "Example Apache JServ Servlet"; // set content type and other response header fields first response.setContentType("text/html"); // then write the data of the response out = response.getWriter(); out.println("<HTML><HEAD><TITLE>"); out.println(title); out.println("</TITLE></HEAD><BODY bgcolor=\"#FFFFFF\">"); out.println("<H1>" + title + "</H1>"); out.println("<H2> Congratulations, ApacheJServ 1.1 is working!<br>"); out.println("</BODY></HTML>"); out.close(); } } --------------------------- LISTA SOUJAVA --------------------------- http://www.soujava.org.br - Sociedade de Usu�rios Java da Sucesu-SP [d�vidas mais comuns: http://www.soujava.org.br/faq.htm] [para sair da lista: http://www.soujava.org.br/forum/cadastrados.htm] [regras da lista: http://www.soujava.org.br/regras.htm] ---------------------------------------------------------------------
