http://myserveraddress:8080/test.jsp ????????????
-----Mensaje original----- De: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]En nombre de ????? ??????? Enviado el: martes, 09 de octubre de 2001 14:12 Para: [EMAIL PROTECTED] Asunto: Have the same problem! I have installed and configured Tomcat on my Linux Box as it was described on one of articles on linux.com (a great article). Everything worked, when I tried http://myserveraddress:8080 Tomcat's default page displayed and all examples, given worked very well! Then I have configured a docBase directory to look in the root directory, where I serve my pages. I wrote a jsp file, placed it in the docBase directory and requested it: http://myserveraddress/test.jsp nothing has displayed, but Error 500 I don't know, what's wrong - Can you help me? Everything works by default - mod_jk is compiled very well. Maybe some config files? Thanks in advance! ----- Original Message ----- From: "Shiva.Devaguptapu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 2001 5:53 PM Subject: Servlet Problem > Hi, > I wrote a HelloWorld servlet and I placed the class file in > %tomcat_home%\webapps\MyPlace\WEB-INF\classes folder and I wrote a web.xml > file with the following content and kept in > %tomcat_home%\webapps\MyPlace\WEB-INF folder. > Now when I start tomcat and enter http://localhost:8080/MyPlace/HelloWorld , > I'm getting the output from the servlet... But when I start Apache after > tomcat and enter http://localhost/MyPlace/HelloWorld , I'm "page cannot be > found" error page... The mapping from Apache to tomcat has been done and I > am able to view the html and jsp pages in the second way... What else I need > to do for getting the result from the servlet in the second way...? > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
