Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Access HTML Form name programmatically from Servlet.  RSS feed

 
B West
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I'm new to some of the servlet concepts, and I'm curious to know if it's possible to access a HTML Form by name. For instance.


Here is the form code on the Html page.


Is it possible to access to in the Servlet say something to the affect of:



I'm not sure if I'm way off base here, if I am, could somebody please give a shove in the correct direction.

Thanks!

Regards
bwest
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That has nothing to do with servlet concepts -- forms follow HTML and HTTP concepts. And no, the form name is not submitted. If you need extra info, create hidden inputs that contain the data.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No; the only things the servlet has access to are things sent to the servlet.
 
B West
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the direction. I appreciate the help!

bw
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!