At 04:10 PM 10/03/99 -0500, you wrote:
>Hi;
>        When I try the example in JSDK2.0 using servletrunner, the
servletrunner
>compliant cannot find the properties (that survey example). I set the
>properties
>as follow:
>servlet.survey.code=SurveyServlet
>servlet.survey.initArgs=\
>        resultsDir=c:/tmp
>
>since I think I don't have a directory of /tmp, I only have c:/tmp. So
>servletrunner
>still cannot find that directory. What happens.
>
>Any comments are appreciated
>Thanks
>
>Bei
>
I don't know if you know this, so forgive me if you already did this.
There is a little something about the form used with the survey example. If
you edit SurveyServlet.html you'll notice that the url for the servlet
points to http://demo:8080/servlet/survey. If you want this to work with
servletrunner, you have to change that url to
http://localhost:8080/servlet/survey, since localhost is the way
servletrunner names your own computer. Perhaps the directory that can't be
found is not tmp, but the directory in which the servlet is located.

Hope it works

Hector

___________________________________________________________________________
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