Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getParameter in jsp file sent by HttpClient

 
Alexandru Gifei
Ranch Hand
Posts: 42
Java Linux Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65227
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic