This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

passing 2 parameters to servlet  RSS feed

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ur previous suggestions were useful.now if i need to pass 2 parameters to a servlet through a url (we generally pass 1 paramter along with the url of servlet with a question mark)like this....

ur1=new URL("http://localhost:7001/MyWebApp/F1?inputfilename=ip");

now if twoparamters are to be passed how to do that?
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any subsequent parameter is appended by an ampersand character (&) , so the URL would be

... ?param1=value1¶m2=value2
[ November 25, 2005: Message edited by: Ulf Dittmer ]
 
Shiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!