• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to sendsen a dyanamic value with a url

 
Ghazala Islam
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i send a dyanamic value with a url,as usually we append fixed value with url as below,

http://url/servlet/myservlet?companyid=xyz

but what if company id changes everytime?
 
Ghazala Islam
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for spelling mistake in topic
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ghazala Islam:
sorry for spelling mistake in topic


You can fix it by clicking on the in your topic.
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As long as the URL is dynamically generated, you can append a dynamic value to it. Is that what you were asking?
 
Ghazala Islam
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No URL is static,but has to bring value from a list box on the form.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't you use a regular form with a submit button?

If it has to be a link, you can use a JavaScript onKlick handler to submit it when the link is clicked.
 
Periakaruppan Thiagarajan
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Formulate the URL in javascript
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!