hello zaid,
if u downloaded JSDK from sun site then u might be using servlet runner.
If that is the case then u can set ur desired directory as servlet
directory.
Actually what is happening is that the servletrunner is using the examples
directory under the curret directory ie the directory from where u r tunning
the servlet runner, so due to this u are only able to run the servlets
provided by sun or rather the example servlets,
so to change the directory, u can use servletrunner options,
Suppose that u have ur servlets in the directory say "myServlets" and the
path of the directory "myServlets" is lets say "c:\jsdk\myServlets" then
while running the servletrunner u can set the directory as shown below
C:\> servletrunner -d c:\jsdk\myServlets
so while running the servlet like this it will show ur directory in the
command prompt window. Now using these settings i hope u can run ur servlet
easily.
in the browser however u can use the same path like
http://localhost:8080/servlet/ <http://localhost:8080/servlet/<> <servlet
name> hope this will work this time
Best of luck,
bye then
nebu
-----Original Message-----
From: Zaid Research [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Sent: Saturday, November 18, 2000 11:11 AM
To: [EMAIL PROTECTED]
Subject: JSDK unable to run my servlets
Hi All,
I am developing servlets for my portal project and want to test them using
JSDK.
JSDK downloaded from sun site is running only default servlets it has came
with.
I am unable to run my servlets thru it despite repeated efforts to set
property file.
Kindly guide me in this direction. Where can I find more info regarding how
to customise JSDK so that it serve custom servlets.
Awaiting your early reply,
SZ Quadri
( new to servlets )
___________________________________________________________________________
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
<http://archives.java.sun.com/archives/servlet-interest.html>
Resources: http://java.sun.com/products/servlet/external-resources.html
<http://java.sun.com/products/servlet/external-resources.html>
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
<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