newbee question on servlet and html

2005-10-10 Thread Developer Developer
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:. http://localhost:8080/VBeer/BeerSelect However, when i try to invoke the servlet

Newbee question on servlet and html

2005-10-10 Thread Developer Developer
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:. http://localhost:8080/VBeer/BeerSelect However, when i try to invoke the servlet

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

2005-10-10 Thread Developer Developer
does anybody know how to fix this problem. Invocation of servlet prompts a messagebox posing a questions do you want to save this ? instead of executing it and returing the output in the html document. :( On 10/10/05, Developer Developer [EMAIL PROTECTED] wrote: I wrote my first html

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