• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

passing 2 parameters to servlet

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic