This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes How to pass input values to the JSP using POST method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

How to pass input values to the JSP using POST method

Prashanth Nayak
Greenhorn

Joined: Dec 19, 2011
Posts: 4
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

Joined: Oct 27, 2005
Posts: 19656
    
  18

Please UseOneThreadPerQuestion. Let's continue at http://www.coderanch.com/t/562298/JSP/java/pass-input-values-JSP-POST.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to pass input values to the JSP using POST method
 
Similar Threads
Javascript function trying to access Scriptlet value
POSTing data from an applet
Calling a JSP from a Javascript
YUI listener problem
Need Help With Dynamic text box in JSP