Colin Morris wrote:
> Hi I'm very new to Tomcat and Apache...
>
> For some reason I'm not able to use POST to
> initiate servlets from a form? Any Ideas? My
> servlet is in tomcat's /ROOT/webapps/classes directory.
> is it possible that I've not set up the .conf files
> properly? I'm able to run the servlets directly from
> the URL - wich causes an exception with blank
> data. But, I'm struggling to get this working ASAP.
> Hence the quickie placement in the /Root diretory...
>
> Thanks in advance.
>
> Colin Morris:
> [EMAIL PROTECTED]
Hi :-) I guess it is because:
did you "override" both doGet/doPost method in your Servlt class?
if you enter a URL in browser directly, this is a "GET request", so I
guess
perhaps you forget the doPost.
you also can only override "service" method, now both GET/POST
request will work.
Bo
Mar.27, 2001