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

How to pass input values to the JSP using POST method

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
One of the test html has the below code where it calls the sample.jsp using POST method.
The problem here that the SOP in the sample.jsp is coming as null . I am suspecting that name-value passed in the below html is not the correct way . Pardon my knowledge on few basics but can someone tell how to pass the value to JSP if this is not the correct way
I need the SOP to be printed which gets the sIP value passed to it .


check.html:
==========



sample.jsp:
==========

JSP which is invoked i.e sample.jsp is this way



 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please UseOneThreadPerQuestion. Let's continue at https://coderanch.com/t/562298/JSP/java/pass-input-values-JSP-POST.
    Bookmark Topic Watch Topic
  • New Topic