Syed:

Sorry if I say something you already know, but it seems as if you are a bit
confused.

If you want code within a doPost method to get executed, you must have a form
whose "ACTION" attribute is "POST" and whose "METHOD" attribute has value
"/servlet/servletName". In which case, a "submit" via the form will result in
the doPost method of the servlet with name "servletname" to be executed. All the
form values (including hidden ones and queryString vars) are available then in
your oPost via the getParameter methods. When you call the servlet "directly" as
in the url you have below, the doGet method is executed.

Geeta

___________________________________________________________________________
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