I have found that servletrunner is very basic and only allows you to run
servlets. It does not act like a web server. So HTML generated by the
servlet will not be able to access files, like applets, in other
directories, unless, maybe it is in the same directory.
I might be wrong, but I haven't been able to get it to work either.
Marius
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Alfonso Urdaneta
> Sent: Wednesday, March 10, 1999 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How do I set up Servletrunner???
>
>
> Mark Phillips wrote:
> >
> > I have a set of classes (applets and servlets) for a chat room
> application
> > that I am building. I am trying to use servletrunner to test them but I
> > cannot seem to get the applet to load. The first servlet runs
> just fine,
> > and builds an html page. Then a link on that page should download the
> > applet, but Netscape 4.5 cannot load the applet.
>
> Just off the top of my head, if the page is dynamically generated, you
> may have something like
> href="../my/code/KewlApplet.class" which means that the browser will
> have no idea where do look for it. You might want to check to see if
> you have a complete path in there.
>
> > Can files (servlets and applets) be placed anywhere and accessed by
> > servletrunner, or do I have to put them in a special place? I have
>
> Don't know anything about servletrunner.
>
> Sorry,
>
> Alfonso.
>
> __________________________________________________________________
> _________
> 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
>
Marius Botha.vcf