Re: newbee question on servlet and html

2005-10-12 Thread Anto Paul
On 10/11/05, Developer Developer [EMAIL PROTECTED] wrote: I wrote my first html and servlet and deployed it on tomcat 5.5. The html works okay when i call it from the browser. The servlet too works okay when i call its doget() method by invoking it from the browser. EG:.

Re: Newbee question on servlet and html - Really frustated with this problem.

2005-10-12 Thread Developer Developer
thanks everybody. I could solve the problem. There was a typo in my response text. When I changed the following line response.setContentType(test/html); with response.setContentType(text/html); It jus worked like a charm. thanks ! On 10/10/05, Developer Developer [EMAIL PROTECTED] wrote:

RE: Newbee question on servlet and html - Really frustated with this problem.

2005-10-11 Thread Mauricio Fernandez A.
Did you define your servlet in your WEB-INF/web.xml? Mauricio Fernandez -Mensaje original- De: Developer Developer [mailto:[EMAIL PROTECTED] Enviado el: martes, 11 octubre, 2005 5:23 Para: tomcat-user@jakarta.apache.org Asunto: Newbee question on servlet and html - Really frustated with

Re: Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Frank W. Zammetti
Two questions... (1) Does your servlet implement a doPost() method? Since you are POSTing the form, you need to do that. (2) Is there a typo in your form there? I see: form method=3DPOST action=3DBeerSelect That's not proper... my guess is you want: form method=3DPOST action=3DBeerSelect

Re: Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Glen Mazza
I think you are getting this error because Tomcat doesn't realize you are trying to activate the servlet. You probably will need to look at your WEB-INF/web.xml of your web application. You'll need a servlet/ entry that defines BeerSelect and a servlet-mapping/ that ties BeerSelect to its