how to call servlet java class click link?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deepmali
    New Member
    • Aug 2012
    • 2

    how to call servlet java class click link?

    hi there,
    i am new web site devoloper.
    plz solve my problem
  • ariful alam
    New Member
    • Jan 2011
    • 185

    #2
    You can use the following code:

    Code:
    <a href="servletUrl?param=value">click</a>
    That will make the doGet(..) method of the servlet be called, and you can get the parameter using request.getPara meter("param")

    Comment

    Working...