aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 19557
    
  16

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass input values to the JSP using POST method
 
Similar Threads
YUI listener problem
POSTing data from an applet
Need Help With Dynamic text box in JSP
Javascript function trying to access Scriptlet value
Calling a JSP from a Javascript