hi ravi

Where is servlets diretory..there is no such default directory under
j2sdkee1.2.1(j2ee server) folder..

and if i give only
http://localhost:8000/servlet
 i get following message :
-----
Error: 403

The invoker servlet used to handle /servlet requests is disabled. Enable
by registering an invoker servlet in WEB-INF/web.xml.
-----

but where is WEB-INF/web.xml file in j2sdkee1.2.1(j2ee server) directory
and how to register an invoker servlet in web.xml file....?

rajat



Ravi N wrote:

> hi Rajat,
>
> make sure  ur servelt class is in servlets directory
> regards,
> ravi
>
> Rajat Jain wrote:
>
> > hi ravi
> > i have already tried the URL u gave me..but it is still not working..one more
> > thing ,if i give only     http://localhost:8000/servlet    it gives error HTTP
> > 403 [Forbidden]..
> > can u pls. clarify me.
> >
> > rajat
> >
> > Ravi N wrote:
> >
> > > try
> > >
> > > Rajat Jain wrote:
> > >
> > >  try this
> > >
> > > http://localhost:8000/servlet/hello
> > >
> > > Rajat Jain wrote:
> > >   i have downloaded (j2ee  and jdk1.3) from net. i alos set following
> > >   environment variable as follows:
> > >
> > >   JAVA_HOME=    C:\jdk1.3
> > >   J2EE_HOME=    C:\j2sdkee1.2.1
> > >
> > >   now my problem is that i am not able to run even  the simplest servlet
> > >   program
> > >   "hello world"  using j2ee server.
> > >   i gave following URL after starting j2ee server:
> > >
> > >   http://localhost:8000/hello
> > >
> > >   In above URL 'hello' is class name for 'hello world' program and this
> > >   class resides in public_html directory of j2sdkee1.2.1 folder.
> > >
> > >   PS :    The intresting part is that i have successfully run JSP program.
> > >
> > >   pleas help me out..is my URL wrong ?or any configuration setting is
> > >   required ?.
> > >
> > >   thanks in advance
> > >
> > >   rajat
> > >
> > >   __________
> > >   _________________________________________________________________
> > >   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
>
> ___________________________________________________________________________
> 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