Hi,

I know this is a FAQ question, but I couldn't solve it even
after I read the solution provided on java.apache.org.

Basically I have a file TestServlet.java in directory test 
, the first line of TestServlet.java 
may look like " package test;"
then in directory test, I do a "javac -d /dir-to-servlets 
TestServlet.java", then in /dir-to-servlet, there is a new 
directory test with TestServlet.class inside it. Now I am 
trying to access this servlet by 
"http://my-host/servlets/test/TestServlet", but the error 
comes as "directory test not found"

If I don't remove "package test" inside TestServlet.java and 
compile it, copy it to /dir-to-servlet, then 
"http://my-host/servlets/TestServlet" works.

Can someone give me instructions on how to make
"http://my-host/servlets/test/TestServlet" work? I am using
WindowsNT4.0, Apache1.3.4, JServ1.0b2. Thanks.

yang
http://members.xoom.com/yangsu/

______________________________________________________
Get your free web-based email at http://www.xoom.com
SPECIAL OFFER:  250 Web Site Templates, Only $29.95! -
http://orders.xoom.com/email




----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to