• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

JSP/servlet get or set parameters  RSS feed

 
Ranch Hand
Posts: 169
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I search to post or get a parametres with jsp and servlets, i do a little calculator !
jsp>>

Servlet >>


i ask how can i to put the reponse for example a+b=c , how to set c on click the button ?

regards
philippe
 
Author and ninkuma
Marshal
Posts: 66806
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your HTML is wrong -- the input elements should have a name attribute not id.

E.g.


Also note that type="int" is invalid, and that you should never omit the quotes around values.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!