I've got some example code here: http://simple.souther.us
SimpleBean has an example of a form post. SimpleServlet has a mapped bean. They're all war files that you can just drop into your webapps folder and run. On Mon, 2004-12-06 at 12:24, Nestor Florez wrote: > Hello experts, > > I am reading to the documentation, but I do not understand how to make it so > that Tomcat executes a servlet > as the action for an HTML file after the submit button is clicked. > > I put my HTML code in the Tomcat 5.0\webapps\ROOT directory and I am putting > my servlet in the > Tomcat 5.0\webapps\ROOT\WEB-INF\classes\florezn, but this does not work. > What Iam I missing > > I am doing this for a homework and part one is supposed to be simple a HTML > file that ask for > your name and the servlet just display the named enter. I am just missing > where to put the servlet. > I was reading a book that said that you put your servlets in the > path/servlets/myservlet, but then you access > the servlet by using path/servlet/myservlet. This obviously different from > Tomcat > > This is probable very basic for you guys, but not for me. > > Appreciate any help - Thanks, > > :-) > > NÃstor Alberto FlÃrez Torres > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
