At 05:41 PM 6/02/00 +0530, you wrote:
>hai friends
>                    iam facing a problem in calling a servlet containing a
>doPost method  from clicking a hyperlink in a html page.  How can i set
>method = post when i was calling a servlet from a hyperlink.
>when Iam using doGet in servlet iam able to call the servlet.

If the hyperlink is an image you can make it a Submit button for a form,
that have hidden fields for the data that you want. For a text
hyperlink you will need to generate a form that gets called by javascript
handler to send the data?

Is there no way to get at the Servlet code? Most servlets are written to redirect
the doGet to the doPost or the other way around ...


----
CyberCyberCyberCyber Pty Ltd
 http://www.cyber4.org/cyber4/index.html
  New Media For The New Millennium

___________________________________________________________________________
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