tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Bengts <>
Subject Re: newbie trying to run tomcat 4
Date Sat, 03 Aug 2002 19:58:33 GMT
On Sat, 3 Aug 2002, Alan Shiers wrote:

> was able to set a context for a new webapp in server.xml and I'm able to
> navigate with Netscape to the web app with
> http://localhost:8080/mytest/index.html
> That part works just fine.  I have a simple servlet sitting in my
> WEB-INF directory and my index.html file has a link in it that is
> supposed to launch the servlet:
> http://localhost:8080/mytest/servlet/sqlnames

If the file Sqlnames.class is in WEB-INF/classes, then the url should be:

> However, every time I try to click on the link, Netscape opens its
> SaveAs dialog box.

Does the servlet return text/html? Like this:



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message