For the benefit of the people on the list, we want to give this information
to you.  This discusses how to access a servlet in a new web application in
JSWDK1.0 world.

> > -----Original Message-----
> > From: Finney, Michael [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, November 15, 1999 4:45 PM
> > To: 'Arun Thomas'
> > Subject: RE: JSWDK1.0 - in a directory of my own
> >
> >
> >     It worked.  I think my main problem was I was trying
> > http://localhost:8080/FinneyWork/servlets/BasicServlet instead of
> servlet.
> > servlets is the directory, but I guess JSWDK automatically wants URI
> with
> > servlet in it.  Interesting.  It doesn't seem to be a configurable
> thing.
> >
> >     I was just trying "http://127.0.0.1:8080/FinneyWork" or
> > "http://localhost:8080/FinneyWork/servlets/BasicServlet" instead of
> > http://localhost:8080/FinneyWork/servlet/BasicServlet
> >
> >     Thank you so much.  I wonder if we should forward this to the
> > JSP-INTEREST mailing list.  May I?
> >
> >     Michael
> >
> >
> >
> >
> > > -----Original Message-----
> > > From:     Arun Thomas [SMTP:[EMAIL PROTECTED]]
> > > Sent:     Monday, November 15, 1999 1:33 PM
> > > To:       Finney, Michael
> > > Subject:  RE: JSWDK1.0 - in a directory of my own
> > >
> > > Michael,
> > >
> > > I'm sorry to admit this, but after I got the servlets working, I
> pretty
> > > much
> > > erased my modified properties files.  I was only interested in
> > the jsps at
> > > the time.
> > >
> > > As for the webserver.xml, you've made exactly the same
> > modification that I
> > > did. Assuming that JSWDK_ROOT is the directory in which you click
> > > startserver, and that both the "examples" subdirectory, and the
> > > "FinneyWork"
> > > directory are children of JSWDK_ROOT, this should work.
> > >
> > > What is the entire URI you are using to access the BasicServlet?
> Where
> > > have
> > > you placed the basic servlet?  Is your setup as the below indicates?
> If
> > > not, give that a shot.
> > >
> > >   JSWDK_ROOT\
> > >           webserver.xml
> > >           examples\
> > >           FinneyWork\
> > >                   Web-inf\
> > >                           servlets\
> > >                                   BasicServlet.class
> > >
> > >   Use the following URI:
> > >            http://localhost:8080/FinneyWork/servlet/BasicServlet
> > >
> > > Let me know if this works.
> > > -AMT
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to