Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getParameter in jsp file sent by HttpClient  RSS feed

 
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
Posts: 65826
134
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!