Hi,

Try catching all Exceptions and printing them to a log file on the server.
Then look at the log file to see what is actually happenning in your
servlet.

Regards

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Vasudev Ram
Infosys Technologies Limited
Pune, India
Email : [EMAIL PROTECTED]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

> -----Original Message-----
> From: Jacqueline [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 05, 2000 7:33 AM
> To:   [EMAIL PROTECTED]
> Subject:      Problem with setting up servlets (URGENT)
>
> Hi!
>
> I'm trying to run the RequestParamExample that comes with the JSDK2.1
> But I keep getting "Connection reset by peer" error
>
> Could someone please help me?
> (I have no problem running the Hello World program.)
>
> The following is my servlet.properties and mapping.properties in
> C:\java\jsdk2.1\examples\WEB-INF\
>
>
> RequestParamExample.class is found in
> C:\java\jsdk2.1\examples\WEB-INF\servlets
>
> Contents of servlet.properties :
> --------------------------------
>
> # $Id: servlets.properties,v 1.2 1999/04/02 02:04:01 duncan Exp $
>
> # Define servlets here
>
> # <servletname>.code=<servletclass>
> # <servletname>.initparams=<name=value>,<name=value>
>
> #snoop.code=SnoopServlet
> #snoop.initparams=initarg1=foo,initarg2=bar
> cookie.code=CookieExample
> cookie.initparams=foo
> jsp.code=com.sun.jsp.runtime.JspServlet
>
> requestparam.code=RequestParamExample
>
> Contents of mapping.properties :
> --------------------------------
>
> # $Id: mappings.properties,v 1.3 1999/04/05 21:19:52 duncan Exp $
>
> # Map servlets to paths
> # Properties beginning with a . are extension properties, all other
> # properties are path properties
>
> #/snoop=snoop
> #.snp=snoop
> .jsp=jsp
>
> __________________________________________________________________________
> _
> 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