Hello,
I have dowloaded the JSP Reference Implementation 0.92 for testing on
HP-Ux.

The default port on which the embedded server runs is 8080 ( launching
java sun.servlet.http.HttpServer & ).
What should I change to have it running on a different port?

I have tried using the available options :

Options:
  -p port     the port number to listen on
  -b backlog  the listen backlog
  -m max      maximum number of connection handlers
  -t timeout  connection timeout in milliseconds
  -d dir      servlet directory
  -r root     document root directory
  -s filename servlet property file name
  -v          verbose output

and run :

        java sun.servlet.http.HttpServer -p 6004 -d ./servlets -r ./jsp -s
./servlets/servlet.properties -v &

but when I try :

        http://<my_host>:<my_port>/samples/calendar/date.jsp

I get the following error :

        403 Forbidden

        Will not serve files, only servlets

Thank you for you help!

Elisa Meazza







--
           __
_________ / /\____________________________________________________
         / /  \
 __     /_/ /\ \  Elisa Meazza   Software Engineer
/_/\  __\ \ \/ /  Application Services Europe - WWW
\ \ \/ /\\ \  /   Hewlett-Packard GmbH Boeblingen, Germany
 \ \ \/  \\ \ \
  \ \  /\ \\ \ \  Phone   : +49 7031 626-1431  (Telnet 702-1431)
   \ \ \_\/ \_\/  Fax     : +49 7031 626-1182  (Telnet 702-1182)
____\ \ \_________________________________________________________
     \_\/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to