By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,654 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,654 IT Pros & Developers. It's quick & easy.

how to call servlet java class click link?

P: 2
hi there,
i am new web site devoloper.
plz solve my problem
Aug 6 '12 #1
Share this Question
Share on Google+
1 Reply


ariful alam
100+
P: 185
You can use the following code:

Expand|Select|Wrap|Line Numbers
  1. <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.getParameter("param")
Aug 6 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.