You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Morrison <bi...@pacbell.net> on 2000/07/13 00:27:20 UTC
Tomcat: where to put forms: Marty Hall Core Servlet example
This question, from a newbee, is for anyone who has gotten Marty Hall's
"Core Servlets and JavaServer Pages" book.
I am trying to make his ThreeParams servlet example (pp67-70) work. I
can't figure out where to put his form page, ThreeParamsForm.html.
His description at the bottom of p67 says to place ThreeParamsForm.html
in a /webpages/forms folder -- no such folder exists. So, I put it in
tomcat/webapps/examples/servlets. When I point my browser to
http://localhost/forms/ThreeParamsForm.html, the ThreeParams servlet is
called (so, somehow this path works), because the servlet-generated HTML
page appears (indicating null for the 3 parameter values).
Yet, the form page with the three textfields for client input (to have
been generated by ThreeParamsForm.html) never appears.
Any help would be greatly appreciated (once I get this problem solved, I
will be able to read and process client input parameters with Tomcat).
Bill