# $Id: servlets.properties,v 1.2 1999/04/02 02:04:22 duncan Exp $

# Define servlets here

# <servletname>.code=<servletclass>
# <servletname>.initparams=<name=value>,<name=value>

snoop.code=SnoopServlet
snoop.initparams=initarg1=foo,initarg2=bar
jsp.code=com.sun.jsp.runtime.JspServlet

servlet.ser1.code=c:\jdk2.1\examples\Serv1.class
serv1.initparams=foo

in html file

<form action=http://localmachine:8080/servlet/ser1>
 but it say proxy error 11001 host specified is not found.


 -----Original Message-----
From:   Srinivasan S (Systems Engineering Group)
[mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, August 18, 1999 12:57 PM
To:     [EMAIL PROTECTED]
Subject:        Re: starter of servelet

Just edit the servlet.properties and in that
type
servlet.<name>.code=class.name

the name is the name which ur going to give in the browser and the class
name is the name of the class file of the servlet.

then run servletrunner if u specifying any directory normally iis servlets
would be in c:\inetpub\wwwroot\servlet. then say
servletrunner -d c:\inetpub\wwwroot\servlet and -s servlet.properties int
he same directory.

In the browser say http://localmachine:8080/servlet/<name> ----> not the
class file here this is important.  Yep u have done it.  Ur servlet should
work

Hope this helps

Regards
Srini


  #-----------------------------------------------------------------------#
  #                                                                       #
  #           "ARISE AWAKE and stop not till the GOAL is reached"         #
  #                                                                       #
  #                     [EMAIL PROTECTED]                          #
  #-----------------------------------------------------------------------#

On Wed, 18 Aug 1999, rajeshcm wrote:

> Hi folks
>
> I want to work with servlets. My have jdk1.2 and jsdk2.1 .  I want to use
> servlet runner. how to run a simple servlet program  using servlet runner.
> Servlet runner is in local machine. What for mapping properties and what
> should in servlet properties and finally how to invoke from web browser.
>           Thank 's in advance.
>               [EMAIL PROTECTED]
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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