wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes getParameter in jsp file sent by HttpClient 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 » Products » Other Open Source Projects
Bookmark "getParameter in jsp file sent by HttpClient" Watch "getParameter in jsp file sent by HttpClient" New topic

getParameter in jsp file sent by HttpClient

Alexandru Gifei
Ranch Hand

Joined: May 19, 2012
Posts: 40

I am sending a http post request from java. Here is the code:

and in the jsp file i try to display the message string but i get null:

Life is not measured by the number of breaths we take, but by the moments that take our breath away.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60785

You did not mention that this is an HttpClient question in your subject. That's important so I added it.

Aside from your question, you should not be using Java scriptlets in JSPs written after 2002. That's 10 years ago. Please read this JspFaq entry.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: getParameter in jsp file sent by HttpClient
Similar Threads
Post the data to Server
Creating HTTP Post
How to post data from android app to php page
Ajax and post messages