> For the more common case when only one source of parameters is
> used, i.e. either the query string for GET or the message body
> for POST, getParameter et al can always be used to read parameter
> values no matter how they were passed to the servlet.

Hence the reason why the different doGet and doPost methods do not make much
sense to use.

In Dash <http://www.working-dogs.com/dash/>, I treat doPost() like this:

public void doPost(HttpServletRequest req, HttpServletResponse res)
    throws IOException, ServletException
{
    doGet(req, res);
}

Much less confusion/complication that way.

-jon

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to