Can you be a bit more specific, thatn this,

can you tell what exactly is the problem, are you getting any error
messages, pls confirm back with a detail sketch of your problem,

It would be usefull in understanding what the problem is,

is it that the servletrunner is up and you are unable to runb your servlet,

or is the servletrunner itself is not comming up.

Amit

> -----Original Message-----
> From: Moloy Biswas [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 27, 1999 1:20 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: A silly Question
>
> Thanks for reverting, I compile the code successfully
>
> But servletrunner is not working. Pl help.
>
> Moloy
>
>
> Usha Sree Y wrote:
>
> > u'r code should look like this....
> > import java.io.*;
> > import javax.servlet.*;
> > import javax.servlet.http.*;
> >
> > public class moloyservlet extends HttpServlet
> > {
> >         public void doGet
> >         (
> >                 HttpServletRequest req,
> >                 HttpServletResponse res
> >         )       throws
> >                 ServletException,
> >                 IOException
> >         {
> >                 res.setContentType( "text/html" );
> >                 ServletOutputStream out = res.getOutputStream();
> >                 out.println( "<html>" );
> >                 out.println( "<head><title>Hello Moloy
> ishere</title></head>");
> >
> >                 out.println( "<body>" );
> >                 out.println( "<h1>Hello Moloy</h1>" );
> >                 out.println( "<p>Congrats,your first servlet is
> working</p>" );
> >
> >                 out.println( "</body>" );
> >                 out.println( "</html>" );
> >                 out.close();
> >         }
> > }
> >
> > Moloy Biswas wrote:
> >
> > > I am a starter in Servlets. While writing the practice code I got the
> > > following error :
> > >
> > > moloyservlet.java:7: ';' expected
> > > public void doGet^
> > >
> > > moloyservlet.java:8: Instance variable can't be void: doGet
> > >       {^
> > >
> > > 2 errors
> > >
> > > My code for moloyservlet.java is given below :
> > >
> > > import java.io.*;
> > > import javax.servlet.*;
> > > import javax.servlet.http.*;
> > >
> > > public class moloyservlet extends HttpServlet
> > > {
> > >         public void doGet
> > >         {
> > >                 HttpServletRequest req,
> > >                 HttpServletResponseres
> > >         }       throws
> > >                 ServletException
> > >                 IOException
> > >         {
> > >                 res.setContentType( "text/html" );
> > >                 ServletOutputStream out = res.getOutputStream();
> > >                 out.println( "<html>" );
> > >                 out.println( "<head><title>Hello Moloy is
> > > here</title></head>" );
> > >                 out.println( "<body>" );
> > >                 out.println( "<h1>Hello Moloy</h1>" );
> > >                 out.println( "<p>Congrats,your first servlet is
> > > working</p>" );
> > >                 out.println( "</body>" );
> > >                 out.println( "</html>" );
> > >                 out.close();
> > >         }
> > > }
> > >
> > > Pl help ....
> > >
> > > Moloy
> > >
> > > --------------------------------------------------------------
> > > SREI INTERNATIONAL FINANCE LTD., CALCUTTA, INDIA
> > >
> > >
> __________________________________________________________________________
> _
> > > 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
>
>
> --------------------------------------------------------------
> SREI INTERNATIONAL FINANCE LTD., CALCUTTA, INDIA
>
> __________________________________________________________________________
> _
> 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