This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

How to pass input values to the JSP using POST method

 
Prashanth Nayak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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



 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please UseOneThreadPerQuestion. Let's continue at http://www.coderanch.com/t/562298/JSP/java/pass-input-values-JSP-POST.
 
    Bookmark Topic Watch Topic
  • New Topic