What happens if you change your WebApplication definition to
<WebApplication id="wapservlets"
mapping="/wapservlets/wap" docBase="/user/staff/wapteam"
maxInactiveInterval="30" />
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> yilmaz ay
> Sent: Tuesday, April 10, 2001 12:06 AM
> To: [EMAIL PROTECTED]
> Subject: wap servlets again
>
>
> HI EVERYBODY!
> last time (some) friends gave me a kind reply for my
> problem.
> my problem is :I want to use my own directory (which
> is located at /user/staff/wapteam)
> as the servlet root, so that i can easily upload,
> download and modify my the servlets.
> and our campus server uses javaserver web dev kit as
> servlet server and it is located at /usr/jwsdk1.0.1
> as my friends suggested, i added the directory name
> into the webserver.xml file.
> i asked the server administrator to add the following
> line to the webserver.xml file:
> <WebApplication id="wapservlets"
> mapping="/user/staff/wapteam" docBase="wap"
> maxInactiveInterval="30" />
> where /user/staff/wapteam is the full path to my
> directory.
> for reference i put the whole webserver.xml content at
> the bottom
> now my problem is : i still can't access my sample
> HelloWorldExample servlet which is located under
> /wap/servlets directory
> i use the following URL to access that servlet
> http://140.124.13.4:8080/wapservlets/wap/servlet/HelloWorldExample
>
> i also used several other probable addresses but in
> vain.
> i can't access. What is wrong with this location?
> CAN SOMEONE TELL ME HOW SHOULD I ACCESS TO MY
> SERVLETS?
> THANKS A LOT IN ADVANCE :)
> YILMAZ AY
> REGARDS
>
> <!DOCTYPE WebServer (View Source for full doctype...)>
>
> - <WebServer id="webServer">
> - <Service id="service0" hostName="dbs.cc.ntut.edu.tw"
> port="8080" inet="140.124.13.4" docBase="webpages"
> workDir="work" workDirIsPersistent="false">
> <WebApplication id="examples" mapping="/examples"
> docBase="examples" maxInactiveInterval="30" />
> <WebApplication id="wapservlets"
> mapping="/user/staff/wapteam" docBase="wap"
> maxInactiveInterval="30" />
> <WebApplication id="roy" mapping="/roy"
> docBase="roy" maxInactiveInterval="30" />
> <WebApplication id="dumy" mapping="/.."
> docBase="dumy/dumy/dumy/dumy/dumy/dumy/dumy/dumy/dumy/dumy/dumy/dumy"
> maxInactiveInterval="30" />
> </Service>
> </WebServer>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> __________________________________________________________________
> _________
> 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