hi marcus, 
sorry to be e-mailing you directly (some people get really stroppy about it
:>), but since you're the only one who answered....
ok..
i added this line to server.xml
<Context path="/testarea" docBase="testarea" debug="0"
           reloadable="true" />

and my web.xml now looks like this:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
  <display-name>SimpleServlet</display-name>
  <description>
        teste para ver se o servlet sai ou n�o
  </description>
  <servlet>
    <servlet-name>SimpleServlet</servlet-name>
    <servlet-class>SimpleServlet</servlet-class>
    <load-on-startup>5</load-on-startup>
  </servlet>
  
  <servlet-mapping>
     <servlet-name>SimpleServlet</servlet-name>
     <url-pattern>/testarea</url-pattern>
  </servlet-mapping>
</web-app>

my application in every way is exactly like the HelloWorldExample, now what
happens is that if i type
http://127.0.0.1:8080/testarea/
i get "directory listing page" but it doesn't show any type of contents, and
if i add SimpleServlet to the end of the path i get the error page...
the only place where the error could be is in the web.xml, or something that
i'm not adding to server.xml
i've compared my files to examples counterparts, but they're not really
helpful... 
could you please help  me out i'm kinda losing it now....
thanks in advance for your time 
edgar

___________________________________________________________________________
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

Reply via email to