Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I send data with a hyperlink?

 
Ghazala Islam
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
If there are no fields on html page just hyperlinks
are there,if I want to send some data with hyperlink which is calling a servlet,how can I send it?
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would code your URL's as:
../MyServlet?myParm1=value1&myParm2=value2...
Then you can retrive the parameters from within the doGet() of MyServlet.
James.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic