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