tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Koscak" <>
Subject Re: my html <FORM ACTION= > can't find my servlet
Date Sun, 17 Dec 2000 22:09:27 GMT
I have encountered a similar problem.

In my case I think it is because I have NOT integrated Apache with
Jakarta-Tomcat. Therefore Apache would be unable to resolve the relative


----- Original Message -----
From: <>
To: tomcat mailing list <>
Sent: Saturday, December 16, 2000 9:23 AM
Subject: my html <FORM ACTION= > can't find my servlet

> I am working on the "Three Parameters" servlet in Marty Hall's book
> (p.69) and the servlet is working great when I call it from the
> "Location" line of the browser such as:
> But I can't find the secret code to put in the ACTION argument of the
> FORM tag.  The book recommends :
> <FORM ACTION="servlets/coreservlets.ThreeParams"> which I tried
> unsuccessfully.  (Netscape gives me a variety of "unable to find
> directory or file" messages)  Then I removed the package statements and
> re-compiled with them in the base directory where I found the working
> examples:
> C:\\tomcat\webapps\examples\WEB-INF\classes
> I've tried all these variations, with forward and back slashes, and
> with/without double quote marks and with/without leading slashes:
> ThreeParams
> servlets/ThreeParams
> examples/servlets/ThreeParams
> When I used "ThreeParams", Netscape said it couldn't find file or
> directory C:\\tomcat\webapps\examples\WEB-INF\classes, which would have
> been the correct directory.  I tried "ThreeParams.class" and it produced
> the correct line at the location line of the browser, but the output was
> garbled, strange characters, etc.
> Any suggestions would be appreciated.  Thanks.
> Michael Brubaker, Java Developer Wannabe, Orlando, Florida
> Win98/Tomcat 3.2.1/JDK1.3/Netscape 4.75

View raw message